UNPKG

tns-platform-declarations

Version:

Platform-specific TypeScript declarations for NativeScript for accessing native objects

18 lines (14 loc) 398 B
/// <reference path="interop.d.ts" /> /** * Triggers garbage collection in JavaScript */ declare function __collect(): void; /** * Releases the reference to the wrapped native object * @param object The Objective-C object to release. */ declare function __releaseNativeCounterpart(object: NSObject): void; /** * Gets accurate system timestamp in ms. */ declare function __time(): Number;