diff --git a/.changeset/orange-days-chew.md b/.changeset/orange-days-chew.md new file mode 100644 index 0000000000..2db991cc5c --- /dev/null +++ b/.changeset/orange-days-chew.md @@ -0,0 +1,17 @@ +--- +"@lynx-js/react": patch +--- + +Support using `"jsx": "react-jsx"` along with `"jsxImportSource": "@lynx-js/react"` in `tsconfig.json`. + +```json +{ + "compilerOptions": { + "jsx": "react-jsx", + "jsxImportSource": "@lynx-js/react" + } +} +``` + +This configuration enhances TypeScript definitions for standard JSX elements, +providing type errors for unsupported elements like `
` or `