We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
vitejs
Learn more about funding links in repositories.
Report abuse
1 parent 3439132 commit d1ba059Copy full SHA for d1ba059
packages/create-vite/template-preact-ts/src/main.tsx
@@ -2,4 +2,4 @@ import { render } from 'preact'
2
import { App } from './app'
3
import './index.css'
4
5
-render(<App />, document.getElementById('app')!)
+render(<App />, document.getElementById('app') as HTMLElement)
0 commit comments