mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
eb36e95596
* feat: export JSX types from jsx-runtime * fix: i wont make the same mistakes three times * chore: changeset
6 lines
358 B
TypeScript
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;
|