Update image-asset.d.ts

This commit is contained in:
Panayot Cankov
2016-11-30 09:26:02 +02:00
parent 5f94a302fb
commit 3b0904b5f9

View File

@ -1,7 +1,7 @@
declare module "image-asset" {
import observable = require("data/observable");
import { Observable } from "data/observable";
export class ImageAsset extends observable.Observable {
export class ImageAsset extends Observable {
constructor(asset: any);
getImageAsync(callback: (image: any, error: any) => void); //UIImage for iOS and android.graphics.Bitmap for Android
ios: any; //PHAsset
@ -15,4 +15,4 @@ declare module "image-asset" {
height?: number;
keepAspectRatio?: boolean;
}
}
}