Merge branch 'develop' into t3chguy/ts/11

This commit is contained in:
Michael Telatynski
2021-07-02 11:03:54 +01:00
committed by GitHub
61 changed files with 467 additions and 766 deletions
+1 -1
View File
@@ -152,7 +152,7 @@ export function objectClone<O extends {}>(obj: O): O {
export function objectFromEntries<K, V>(entries: Iterable<[K, V]>): {[k: K]: V} {
const obj: {
// @ts-ignore - same as return type
[k: K]: V} = {};
[k: K]: V;} = {};
for (const e of entries) {
// @ts-ignore - same as return type
obj[e[0]] = e[1];