This commit is contained in:
Anton Lavrenov
2019-05-29 11:36:07 -05:00
parent f6c9ecab69
commit 8698f020cc
6 changed files with 91 additions and 33 deletions

11
src/index-types.d.ts vendored
View File

@@ -42,6 +42,15 @@ declare namespace Konva {
export type Node = import('./Node').Node;
export type NodeConfig = import('./Node').NodeConfig;
export type KonvaEventObject<EventType> = import('./Node').KonvaEventObject<
EventType
>;
export type KonvaEventListener<
This,
EventType
> = import('./Node').KonvaEventListener<This, EventType>;
export const Container: typeof import('./Container').Container;
export type Container = import('./Container').Container<Node>;
export type ContainerConfig = import('./Container').ContainerConfig;
@@ -133,8 +142,6 @@ declare namespace Konva {
export type Wedge = import('./shapes/Wedge').Wedge;
export type WedgeConfig = import('./shapes/Wedge').WedgeConfig;
export type KonvaEventObject<E> = import('./types').KonvaEventObject<E>;
export const Filters: {
Blur: typeof Blur;
Brighten: typeof Brighten;