diff --git a/app/application.js b/app/application.ts similarity index 95% rename from app/application.js rename to app/application.ts index 59cd3374b7..ba0d8f877c 100644 Binary files a/app/application.js and b/app/application.ts differ diff --git a/app/soapbox/load_polyfills.js b/app/soapbox/load_polyfills.ts similarity index 93% rename from app/soapbox/load_polyfills.js rename to app/soapbox/load_polyfills.ts index 251fc14c06..e636098e72 100644 Binary files a/app/soapbox/load_polyfills.js and b/app/soapbox/load_polyfills.ts differ diff --git a/app/soapbox/main.js b/app/soapbox/main.tsx similarity index 78% rename from app/soapbox/main.js rename to app/soapbox/main.tsx index dfac430e0e..0a9bbdb75f 100644 Binary files a/app/soapbox/main.js and b/app/soapbox/main.tsx differ diff --git a/app/soapbox/monitoring.js b/app/soapbox/monitoring.ts similarity index 73% rename from app/soapbox/monitoring.js rename to app/soapbox/monitoring.ts index adb99a8910..51e040b120 100644 Binary files a/app/soapbox/monitoring.js and b/app/soapbox/monitoring.ts differ diff --git a/app/soapbox/performance.js b/app/soapbox/performance.ts similarity index 72% rename from app/soapbox/performance.js rename to app/soapbox/performance.ts index 7444ad540b..b524b6e151 100644 Binary files a/app/soapbox/performance.js and b/app/soapbox/performance.ts differ diff --git a/app/soapbox/ready.js b/app/soapbox/ready.ts similarity index 74% rename from app/soapbox/ready.js rename to app/soapbox/ready.ts index 341ca425c5..f74b03694b 100644 Binary files a/app/soapbox/ready.js and b/app/soapbox/ready.ts differ diff --git a/tsconfig.json b/tsconfig.json index 81de339082..9897be7350 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -3,7 +3,7 @@ "baseUrl": "app/", "sourceMap": true, "strict": true, - "module": "es6", + "module": "es2022", "target": "es5", "jsx": "react", "allowJs": true, diff --git a/webpack/shared.js b/webpack/shared.js index 8135fa512d..55ac4d6a73 100644 Binary files a/webpack/shared.js and b/webpack/shared.js differ