1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-11 18:17:48 -05:00
denoland-deno/tests/testdata/jsr/registry/@denotest/jsx-with-no-pragmas/1.0.0/mod.ts
Bartek Iwańczuk a9aef0d017
test(jsr): add tests for jsx files with and without pragmas (#22634)
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.
2024-02-29 19:35:23 +01:00

7 lines
156 B
TypeScript

import renderJsx from "./foo.jsx";
import renderTsx from "./foo.tsx";
export function render() {
console.log(renderJsx());
console.log(renderTsx());
}