mirror of https://github.com/vector-im/riot-web
TypeScript: enable es2019 lib for newer definitions
parent
e20b375433
commit
2caee2eadd
|
@ -49,11 +49,6 @@ declare global {
|
||||||
mxNotifier: typeof Notifier;
|
mxNotifier: typeof Notifier;
|
||||||
}
|
}
|
||||||
|
|
||||||
// workaround for https://github.com/microsoft/TypeScript/issues/30933
|
|
||||||
interface ObjectConstructor {
|
|
||||||
fromEntries?(xs: [string|number|symbol, any][]): object;
|
|
||||||
}
|
|
||||||
|
|
||||||
interface Document {
|
interface Document {
|
||||||
// https://developer.mozilla.org/en-US/docs/Web/API/Document/hasStorageAccess
|
// https://developer.mozilla.org/en-US/docs/Web/API/Document/hasStorageAccess
|
||||||
hasStorageAccess?: () => Promise<boolean>;
|
hasStorageAccess?: () => Promise<boolean>;
|
||||||
|
|
|
@ -17,6 +17,11 @@
|
||||||
"react",
|
"react",
|
||||||
"flux",
|
"flux",
|
||||||
"react-transition-group"
|
"react-transition-group"
|
||||||
|
],
|
||||||
|
"lib": [
|
||||||
|
"es2019",
|
||||||
|
"dom",
|
||||||
|
"dom.iterable"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
|
|
Loading…
Reference in New Issue