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
commit 9dd1895a78
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 {