Skip to content

Commit

Permalink
Revert "chore(create-vite): use Type assertion in preact-ts (vitejs#8579
Browse files Browse the repository at this point in the history
)"

This reverts commit d1ba059.
  • Loading branch information
winderica committed Jun 14, 2022
1 parent b80fe1e commit d61031d
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') as HTMLElement)
render(<App />, document.getElementById('app')!)

0 comments on commit d61031d

Please sign in to comment.