Merge pull request #1337 from maritaria/fix-missing-types

Declare config type for Group node
This commit is contained in:
Anton Lavrenov 2022-05-27 09:03:25 -05:00 committed by GitHub
commit b45e243f54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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;