//@filename: file.tsx //@jsx: preserve declare module JSX { interface Element { } interface IntrinsicElements { [s: string]: any; } } declare var React: any; <>; // no whitespace < >; // lots of whitespace < /*starting wrap*/ >; // comments in the tags <>hi; // text inside <>hi
bye
; // children <>1<>2.12.23; // nested fragments <>#; // # would cause scanning error if not in jsxtext