Merge pull request #341 from iceafish/patch-4

Update konva.d.ts
This commit is contained in:
Anton Lavrenov
2018-02-16 08:52:53 +08:00
committed by GitHub

3
konva.d.ts vendored
View File

@@ -257,6 +257,7 @@ declare module Konva {
stopDrag(): void;
threshold(): number;
threshold(threshold: number): Node;
to(params: any): void;
toDataURL(config: ToDataURLConfig): string;
toImage(config: ToDataURLConfig): HTMLImageElement;
toJSON(): string;
@@ -709,6 +710,8 @@ declare module Konva {
pointerLength(Length: Number): Number;
pointerWidth(): Number;
pointerWidth(Width: Number): Number;
pointerAtBeginning(): boolean;
pointerAtBeginning(Should: boolean): void;
}
interface RectConfig extends ShapeConfig {