From 1f66dcd267633effe2421183fd2bacb8b1322309 Mon Sep 17 00:00:00 2001 From: Guyutongxue Date: Thu, 24 Aug 2023 12:50:12 +0800 Subject: [PATCH] fix --- src/Options.svelte | 2 +- src/main.ts | 2 +- tsconfig.json | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Options.svelte b/src/Options.svelte index e0da06d..f9d4172 100644 --- a/src/Options.svelte +++ b/src/Options.svelte @@ -31,7 +31,7 @@ import { compiler, options, - OptionsProfile, + type OptionsProfile, DEFAULT_PROFILE, NEWBIE_PROFILE, } from "./config_store"; diff --git a/src/main.ts b/src/main.ts index 1aed12b..9ec7c0c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,7 +1,7 @@ import "./app.css"; -// @ts-ignore import App from "./App.svelte"; +// @ts-ignore const app = new App({ target: document.body, }); diff --git a/tsconfig.json b/tsconfig.json index 2f4aed7..fd9051f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,6 +7,7 @@ "resolveJsonModule": true, "strictNullChecks": true, "baseUrl": ".", + "isolatedModules": true, /** * Typecheck JS in `.svelte` and `.js` files by default. * Disable checkJs if you'd like to use dynamic types in JS.