Adds ability to suppress most warning messages
This commit is contained in:
@@ -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];
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user