From ff4c83456f474e0da0fa7848f6431d4fe35306b8 Mon Sep 17 00:00:00 2001 From: Travis Harmon Date: Tue, 27 Feb 2024 00:04:23 -0600 Subject: [PATCH] fix(create-vite): ts error in the svelte-ts template (#16031) --- 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