1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-20 06:15:44 -05:00
denoland-deno/tests/testdata/publish/unsupported_jsx_tsx/mod.ts
Bartek Iwańczuk 211b3ff244
fix(publish): print a warning when .jsx or .tsx is imported (#22631)
This commit adds a warning when .jsx or .tsx is encountered during
publishing.

This is a stop-gap solution before we fix it proper.
2024-02-29 12:54:57 +01:00

7 lines
150 B
TypeScript

import fooTsx from "./foo.tsx";
import fooJsx from "./foo.jsx";
export function renderTsxJsx() {
console.log(fooTsx());
console.log(fooJsx());
}