mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00
Update image-asset.d.ts
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user