mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
feat: __runtimeVersion declaration
This commit is contained in:
@@ -8,6 +8,12 @@ declare function long(num: number): any;
|
||||
*/
|
||||
declare var gc: () => void;
|
||||
|
||||
|
||||
/**
|
||||
* Returns the version of the runtime.
|
||||
*/
|
||||
declare function __runtimeVersion: string;
|
||||
|
||||
/**
|
||||
* Releases the reference to the wrapped native object
|
||||
* @param object The Java object to release.
|
||||
|
||||
7
packages/types-ios/src/lib/ios/runtime.d.ts
vendored
7
packages/types-ios/src/lib/ios/runtime.d.ts
vendored
@@ -1,5 +1,12 @@
|
||||
/// <reference path="interop.d.ts" />
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Returns the version of the runtime.
|
||||
*/
|
||||
declare function __runtimeVersion: string;
|
||||
|
||||
/**
|
||||
* Triggers garbage collection in JavaScript
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user