mirror of
https://github.com/denoland/deno.git
synced 2024-12-27 17:49:08 -05:00
211b3ff244
This commit adds a warning when .jsx or .tsx is encountered during publishing. This is a stop-gap solution before we fix it proper.
5 lines
145 B
TypeScript
5 lines
145 B
TypeScript
import { renderToString } from "npm:preact-render-to-string";
|
|
|
|
export default function render() {
|
|
return renderToString(<div>foo.tsx</div>);
|
|
}
|