Adds ability to suppress most warning messages

This commit is contained in:
Eric Amodio
2017-06-09 15:38:43 -04:00
parent 30bb4398a3
commit 9ae4cc36a1
28 changed files with 241 additions and 106 deletions

View File

@@ -56,9 +56,9 @@ export namespace Objects {
}
}
export function* values(o: any): IterableIterator<[any]> {
export function* values<T>(o: any): IterableIterator<T> {
for (const key in o) {
yield [o[key]];
yield o[key];
}
}
}