mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 11:42:04 +08:00

Less than 30 erros left, let's hope it still works Added lib.*.d.ts from typescript, removed lib and dom stuff, added by hand XHR, alert etc. .d.ts-es for polyfills Roll back some changes involved in separating UIEvent for dom and ios Test combined dts-es will now use lib, while internally we will not to avoid UIEvent conflict with dom stuff
13 lines
263 B
TypeScript
13 lines
263 B
TypeScript
/* 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>;
|
|
} |