Skip to content

Commit

Permalink
chore(create-vite): use Type assertion in preact-ts (#8579)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsdayuan authored Jun 14, 2022
1 parent 3439132 commit d1ba059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/create-vite/template-preact-ts/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ import { render } from 'preact'
import { App } from './app'
import './index.css'

render(<App />, document.getElementById('app')!)
render(<App />, document.getElementById('app') as HTMLElement)

0 comments on commit d1ba059

Please sign in to comment.