Merge pull request #357 from saitho/master

add Konva.Image.fromURL to TS definitions. close #356
This commit is contained in:
Anton Lavrenov
2018-03-12 07:35:35 +07:00
committed by GitHub

1
konva.d.ts vendored
View File

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