Remove typings and replace missing methods with vscodes (#8217)

* remove typings and replace missing methods with vscodes

* fix strict-null-checks

* fix tests
This commit is contained in:
Anthony Dresser
2019-11-05 13:03:20 -08:00
committed by GitHub
parent 4645a8ba6b
commit 22a427f934
184 changed files with 634 additions and 43388 deletions

View File

@@ -32,11 +32,3 @@ export function mixin(destination: any, source: any, overwrite: boolean = true,
}
return destination;
}
export function entries<T>(o: { [key: string]: T }): [string, T][] {
return Object.keys(o).map(k => [k, o[k]] as [string, T]);
}
export function values<T>(o: { [key: string]: T }): T[] {
return Object.keys(o).map(k => o[k]);
}