From 71be0220175321ad3620efb75fdeea5ee54cdb4c Mon Sep 17 00:00:00 2001 From: Travis Harmon Date: Mon, 26 Feb 2024 07:24:45 -0600 Subject: [PATCH] Fix ts error --- packages/create-vite/template-svelte-ts/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/create-vite/template-svelte-ts/src/main.ts b/packages/create-vite/template-svelte-ts/src/main.ts index 8a909a15a0ebff..4d67e2ac2af7ef 100644 --- a/packages/create-vite/template-svelte-ts/src/main.ts +++ b/packages/create-vite/template-svelte-ts/src/main.ts @@ -2,7 +2,7 @@ import './app.css' import App from './App.svelte' const app = new App({ - target: document.getElementById('app'), + target: document.getElementById('app')!, }) export default app