1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-14 16:33:45 -05:00
denoland-deno/cli/tests/testdata/import_data_url_jsx.ts

10 lines
278 B
TypeScript

import render from "data:text/jsx;base64,ZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24oKSB7CiAgcmV0dXJuIDxkaXY+SGVsbG8gRGVubyE8L2Rpdj4KfQo=";
// deno-lint-ignore no-explicit-any
(globalThis as any).React = {
createElement(...args: unknown[]) {
console.log(...args);
},
};
render();