mirror of
https://github.com/flarum/core.git
synced 2025-07-27 03:30:28 +02:00
Add support for .finally
in promises (#3)
See: https://stackoverflow.com/a/54746036/11091039 We use `Promise.finally` in core, but the `tsconfig.json` doesn't list it as supported.
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
"target": "es6",
|
"target": "es6",
|
||||||
"jsx": "preserve",
|
"jsx": "preserve",
|
||||||
"allowJs": true,
|
"allowJs": true,
|
||||||
"lib": ["es2015", "es2017", "dom"],
|
"lib": ["es2015", "es2017", "dom", "es2018.promise"],
|
||||||
"allowSyntheticDefaultImports": true
|
"allowSyntheticDefaultImports": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user