Declare config type for Group node

This commit is contained in:
Maritaria
2022-05-27 12:41:09 +02:00
committed by GitHub
parent e2c0bd4570
commit 1283e5f309
2 changed files with 4 additions and 1 deletions

View File

@@ -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

View File

@@ -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;