mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
Declare config type for Group node
This commit is contained in:
parent
e2c0bd4570
commit
1283e5f309
@ -1,9 +1,11 @@
|
|||||||
import { Util } from './Util';
|
import { Util } from './Util';
|
||||||
import { Container } from './Container';
|
import { Container, ContainerConfig } from './Container';
|
||||||
import { _registerNode } from './Global';
|
import { _registerNode } from './Global';
|
||||||
import { Node } from './Node';
|
import { Node } from './Node';
|
||||||
import { Shape } from './Shape';
|
import { Shape } from './Shape';
|
||||||
|
|
||||||
|
export interface GroupConfig extends ContainerConfig {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Group constructor. Groups are used to contain shapes or other groups.
|
* Group constructor. Groups are used to contain shapes or other groups.
|
||||||
* @constructor
|
* @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 const Group: typeof import('./Group').Group;
|
||||||
export type Group = import('./Group').Group;
|
export type Group = import('./Group').Group;
|
||||||
|
export type GroupConfig = import('./Group').GroupConfig;
|
||||||
|
|
||||||
export const DD: typeof import('./DragAndDrop').DD;
|
export const DD: typeof import('./DragAndDrop').DD;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user