// @jsx: react // @noUnusedLocals: true // @filename: renderer.d.ts declare global { namespace JSX { interface IntrinsicElements { [e: string]: any; } } } export function h(): void; export function jsx(): void; export function Fragment(): void; // @filename: preacty.tsx /** * @jsx h * @jsxFrag Fragment */ import {h, Fragment} from "./renderer"; <>
> // @filename: snabbdomy.tsx /* @jsx jsx */ /* @jsxfrag null */ import {jsx} from "./renderer"; <>> // @filename: preacty-only-fragment.tsx /** * @jsx h * @jsxFrag Fragment */ import {h, Fragment} from "./renderer"; <>> // @filename: snabbdomy-only-fragment.tsx /* @jsx jsx */ /* @jsxfrag null */ import {jsx} from "./renderer"; <>> // @filename: preacty-only-fragment-no-jsx.tsx /** * @jsx h * @jsxFrag Fragment */ import {Fragment} from "./renderer"; <>> // @filename: snabbdomy-only-fragment-no-jsx.tsx /* @jsx jsx */ /* @jsxfrag null */ import {} from "./renderer"; <>> // @filename: preacty-no-fragment.tsx /** * @jsx h * @jsxFrag Fragment */ import {h, Fragment} from "./renderer"; // @filename: snabbdomy-no-fragment.tsx /* @jsx jsx */ /* @jsxfrag null */ import {jsx} from "./renderer"; // @filename: preacty-only-component.tsx /** * @jsx h */ import {h} from "./renderer"; function Component() { return null; }