fix(ts) set ES2024 as our target for web

We depend on ES2024 features. For environments without full support,
webpack will add polyfills.
This commit is contained in:
Saúl Ibarra Corretgé
2025-02-03 13:21:33 +01:00
committed by Saúl Ibarra Corretgé
parent 5260cd7e30
commit 3f51b10245
2 changed files with 2 additions and 7 deletions

View File

@@ -26,11 +26,6 @@ export interface IProps {
* @abstract
*/
export class AbstractApp<P extends IProps = IProps> extends BaseApp<P> {
/**
* The deferred for the initialization {{promise, resolve, reject}}.
*/
_init: PromiseWithResolvers<any>;
/**
* Initializes the app.
*

View File

@@ -3,9 +3,9 @@
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"module": "es2020",
"target": "es2020",
"target": "es2024",
"jsx": "react",
"lib": [ "ES2020", "ES2024.Promise", "DOM" ],
"lib": [ "ES2024", "DOM" ],
"skipLibCheck": true,
"moduleResolution": "Node",
"strict": true,