feat: __runtimeVersion declaration

This commit is contained in:
Martin Guillon
2021-09-30 09:15:52 +02:00
parent e797528963
commit 55059b3223
2 changed files with 13 additions and 0 deletions

View File

@@ -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.

View File

@@ -1,5 +1,12 @@
/// <reference path="interop.d.ts" />
/**
* Returns the version of the runtime.
*/
declare function __runtimeVersion: string;
/**
* Triggers garbage collection in JavaScript
*/