mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat(Utils): add dataSerialize and dataDeserialize for iOS
This commit is contained in:
6
packages/core/utils/native-helper.d.ts
vendored
6
packages/core/utils/native-helper.d.ts
vendored
@@ -121,6 +121,12 @@ export namespace iOSNativeHelper {
|
||||
export function nsArrayToJSArray<T>(a: NSArray<T>): T[];
|
||||
}
|
||||
|
||||
/**
|
||||
* Data serialize and deserialize helpers
|
||||
*/
|
||||
export function dataSerialize(data?: any): any;
|
||||
export function dataDeserialize(nativeData?: any): any;
|
||||
|
||||
/**
|
||||
* @deprecated use application.orientation instead
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user