mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-20 17:22:51 -05:00
This reverts commit 22a427f934.
This commit is contained in:
@@ -32,3 +32,11 @@ 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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user