Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(ts) set ES2024 as our target for web

Saúl Ibarra Corretgé3f51b1024516
diff --git a/react/features/app/components/AbstractApp.ts b/react/features/app/components/AbstractApp.ts
index 10069d5284..e1dd92087d 100644
--- a/react/features/app/components/AbstractApp.ts
+++ b/react/features/app/components/AbstractApp.ts
@@ -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.
*
diff --git a/tsconfig.web.json b/tsconfig.web.json
index 1d0ee77a12..25f045649b 100644
--- a/tsconfig.web.json
+++ b/tsconfig.web.json
@@ -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,