mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Revert "Upgrade to TypeScript 2.1, and latest grunt-ts. (#3609)"
This reverts commit 79e6881ca6.
This commit is contained in:
13
tns-core-modules/weakmap.d.ts
vendored
Normal file
13
tns-core-modules/weakmap.d.ts
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/* tslint:disable:no-unused-variable */
|
||||
|
||||
interface WeakMap<K, V> {
|
||||
clear(): void;
|
||||
delete(key: K): boolean;
|
||||
get(key: K): V;
|
||||
has(key: K): boolean;
|
||||
set(key: K, value: V): WeakMap<K, V>;
|
||||
}
|
||||
|
||||
declare var WeakMap: {
|
||||
new <K, V>(): WeakMap<K, V>;
|
||||
}
|
||||
Reference in New Issue
Block a user