diff --git a/src/@types/global.d.ts b/src/@types/global.d.ts index 13520e218d..86ee995a13 100644 --- a/src/@types/global.d.ts +++ b/src/@types/global.d.ts @@ -49,11 +49,6 @@ declare global { mxNotifier: typeof Notifier; } - // workaround for https://github.com/microsoft/TypeScript/issues/30933 - interface ObjectConstructor { - fromEntries?(xs: [string|number|symbol, any][]): object; - } - interface Document { // https://developer.mozilla.org/en-US/docs/Web/API/Document/hasStorageAccess hasStorageAccess?: () => Promise; diff --git a/tsconfig.json b/tsconfig.json index db040d1f31..b139e8e8d1 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -17,6 +17,11 @@ "react", "flux", "react-transition-group" + ], + "lib": [ + "es2019", + "dom", + "dom.iterable" ] }, "include": [