Upgrade to TypeScript 2.1, and latest grunt-ts. (#3609)

* Upgrade to TypeScript 2.1, and latest grunt-ts.
* Remove AudioBuffer and UIEvent from the definitions, we now should be compatible with dom
* Update the tns-platform-declarations readme
This commit is contained in:
Hristo Deshev
2017-02-08 16:11:40 +02:00
committed by Hristo Deshev
parent 513aeaa47b
commit 489be1e460
23 changed files with 85 additions and 4475 deletions

View File

@@ -1,13 +0,0 @@
/* 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>;
}