diff --git a/desktop/doctor/src/cli.ts b/desktop/doctor/src/cli.tsx similarity index 100% rename from desktop/doctor/src/cli.ts rename to desktop/doctor/src/cli.tsx diff --git a/desktop/doctor/src/environmentInfo.ts b/desktop/doctor/src/environmentInfo.tsx similarity index 100% rename from desktop/doctor/src/environmentInfo.ts rename to desktop/doctor/src/environmentInfo.tsx diff --git a/desktop/doctor/src/index.ts b/desktop/doctor/src/index.tsx similarity index 100% rename from desktop/doctor/src/index.ts rename to desktop/doctor/src/index.tsx diff --git a/desktop/scripts/build-utils.ts b/desktop/scripts/build-utils.ts index a6bf91df7..8a485459d 100644 --- a/desktop/scripts/build-utils.ts +++ b/desktop/scripts/build-utils.ts @@ -327,7 +327,7 @@ export async function compileMain() { }); await Metro.runBuild(config, { platform: 'web', - entry: path.join(staticDir, 'main.ts'), + entry: path.join(staticDir, 'main.tsx'), out, dev, minify: !dev, diff --git a/desktop/static/fb-stubs/isFB.ts b/desktop/static/fb-stubs/isFB.tsx similarity index 100% rename from desktop/static/fb-stubs/isFB.ts rename to desktop/static/fb-stubs/isFB.tsx diff --git a/desktop/static/launcher.ts b/desktop/static/launcher.tsx similarity index 100% rename from desktop/static/launcher.ts rename to desktop/static/launcher.tsx diff --git a/desktop/static/main.ts b/desktop/static/main.tsx similarity index 100% rename from desktop/static/main.ts rename to desktop/static/main.tsx diff --git a/desktop/static/setup.ts b/desktop/static/setup.tsx similarity index 100% rename from desktop/static/setup.ts rename to desktop/static/setup.tsx diff --git a/desktop/test-utils/src/consoleMock.ts b/desktop/test-utils/src/consoleMock.tsx similarity index 100% rename from desktop/test-utils/src/consoleMock.ts rename to desktop/test-utils/src/consoleMock.tsx diff --git a/desktop/test-utils/src/index.ts b/desktop/test-utils/src/index.tsx similarity index 100% rename from desktop/test-utils/src/index.ts rename to desktop/test-utils/src/index.tsx diff --git a/desktop/test-utils/src/pathUtils.ts b/desktop/test-utils/src/pathUtils.tsx similarity index 100% rename from desktop/test-utils/src/pathUtils.ts rename to desktop/test-utils/src/pathUtils.tsx