13 lines
180 B
TypeScript
13 lines
180 B
TypeScript
|
import { h, render } from 'preact'
|
||
|
import { App } from './client/app.tsx'
|
||
|
|
||
|
window['h'] = h
|
||
|
|
||
|
declare global {
|
||
|
interface Window {
|
||
|
h: typeof h
|
||
|
}
|
||
|
}
|
||
|
|
||
|
render(<App />, document.body)
|