made small type change

This commit is contained in:
Anton Lavrenov
2018-03-12 07:36:34 +07:00
parent 9dd1895a78
commit db10dc5081

2
konva.d.ts vendored
View File

@@ -753,7 +753,7 @@ declare namespace Konva {
cropWidth(cropWidth: number): this;
cropHeight(): number;
cropHeight(cropHeight: number): this;
static fromURL(url: string, callback: Function): void;
static fromURL(url: string, callback: (image: Konva.Image) => void): void;
}
interface LineConfig extends ShapeConfig {