automatic-runtime-html.js 354 B

123456789
  1. // Note: types exposed from `automatic-runtime-html.d.ts` because TS has bugs
  2. // when generating types.
  3. import {createAutomaticRuntime} from './create-automatic-runtime.js'
  4. import {h} from './index.js'
  5. // Export `JSX` as a global for TypeScript.
  6. export * from './jsx-automatic.js'
  7. export const {Fragment, jsxDEV, jsxs, jsx} = createAutomaticRuntime(h)