c73fdc87d0
* Add test * Fix #17452 - Allow JSXAttribute names to be IdentifierNames * Move check into isIdentifierName
12 lines
241 B
TypeScript
12 lines
241 B
TypeScript
// @jsx: preserve
|
|
|
|
// @filename: index.tsx
|
|
declare namespace JSX {
|
|
interface Element { }
|
|
interface IntrinsicElements {
|
|
div: {
|
|
static?: boolean;
|
|
};
|
|
}
|
|
}
|
|
export default <div static={true} />;
|