1
0
forked from jchomaz/Vulture
Files
Vulture/VApp/node_modules/rxjs/src/internal/util/createObject.ts

4 lines
154 B
TypeScript

export function createObject(keys: string[], values: any[]) {
return keys.reduce((result, key, i) => ((result[key] = values[i]), result), {} as any);
}