mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 04:41:36 +08:00
Update image-asset.d.ts
This commit is contained in:
@ -1,7 +1,7 @@
|
|||||||
declare module "image-asset" {
|
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);
|
constructor(asset: any);
|
||||||
getImageAsync(callback: (image: any, error: any) => void); //UIImage for iOS and android.graphics.Bitmap for Android
|
getImageAsync(callback: (image: any, error: any) => void); //UIImage for iOS and android.graphics.Bitmap for Android
|
||||||
ios: any; //PHAsset
|
ios: any; //PHAsset
|
||||||
|
Reference in New Issue
Block a user