mirror of
https://github.com/denoland/deno.git
synced 2024-12-13 11:02:19 -05:00
a9aef0d017
Follow up to https://github.com/denoland/deno/pull/22631 that asserts behavior when JSX and TSX files have and do not have pragmas with `jsx*` config.
7 lines
232 B
TypeScript
7 lines
232 B
TypeScript
/** @jsxRuntime automatic *//** @jsxImportSource npm:preact */
|
|
// deno-fmt-ignore-file
|
|
import { renderToString } from "npm:preact-render-to-string";
|
|
|
|
export default function render() {
|
|
return renderToString(<div>foo.tsx</div>);
|
|
}
|