mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
Merge pull request #1337 from maritaria/fix-missing-types
Declare config type for Group node
This commit is contained in:
commit
b45e243f54
@ -1,9 +1,11 @@
|
||||
import { Util } from './Util';
|
||||
import { Container } from './Container';
|
||||
import { Container, ContainerConfig } from './Container';
|
||||
import { _registerNode } from './Global';
|
||||
import { Node } from './Node';
|
||||
import { Shape } from './Shape';
|
||||
|
||||
export interface GroupConfig extends ContainerConfig {}
|
||||
|
||||
/**
|
||||
* Group constructor. Groups are used to contain shapes or other groups.
|
||||
* @constructor
|
||||
|
1
src/index-types.d.ts
vendored
1
src/index-types.d.ts
vendored
@ -83,6 +83,7 @@ declare namespace Konva {
|
||||
|
||||
export const Group: typeof import('./Group').Group;
|
||||
export type Group = import('./Group').Group;
|
||||
export type GroupConfig = import('./Group').GroupConfig;
|
||||
|
||||
export const DD: typeof import('./DragAndDrop').DD;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user