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
commit 82119a08f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
61 changed files with 467 additions and 766 deletions

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];