0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-30 22:03:56 -05:00
astro/packages/astro/jsx-runtime.d.ts
Erika eb36e95596
feat: export JSX types from jsx-runtime (#9501)
* feat: export JSX types from jsx-runtime

* fix: i wont make the same mistakes three times

* chore: changeset
2023-12-23 02:52:04 -05:00

6 lines
358 B
TypeScript

// Q: Why this file?
// A: Our language tooling needs to access the JSX types from `astro/jsx-runtime`, due to TS limitations, however we
// can't import `astro-jsx` types inside the actual `jsx-runtime/index.js` file due to circular dependency issues.
import './astro-jsx.js';
export * from './dist/jsx-runtime/index.js';
export import JSX = astroHTML.JSX;