diff --git a/packages/types-android/src/lib/android/android-declarations.d.ts b/packages/types-android/src/lib/android/android-declarations.d.ts index f49e25a4a..ed453876f 100644 --- a/packages/types-android/src/lib/android/android-declarations.d.ts +++ b/packages/types-android/src/lib/android/android-declarations.d.ts @@ -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. diff --git a/packages/types-ios/src/lib/ios/runtime.d.ts b/packages/types-ios/src/lib/ios/runtime.d.ts index 18d517e06..bae3404e8 100644 --- a/packages/types-ios/src/lib/ios/runtime.d.ts +++ b/packages/types-ios/src/lib/ios/runtime.d.ts @@ -1,5 +1,12 @@ /// + + +/** + * Returns the version of the runtime. + */ +declare function __runtimeVersion: string; + /** * Triggers garbage collection in JavaScript */