mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 12:34:52 +08:00
ts fixes
This commit is contained in:
11
src/index-types.d.ts
vendored
11
src/index-types.d.ts
vendored
@@ -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;
|
||||
|
Reference in New Issue
Block a user