1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-26 16:09:27 -05:00
denoland-deno/cli/tests/testdata/run/import_dynamic_data_url.ts

15 lines
274 B
TypeScript
Raw Normal View History

// export const a = "a";
// export enum A {
// A,
// B,
// C,
// }
const a = await import(
"data:application/typescript;base64,ZXhwb3J0IGNvbnN0IGEgPSAiYSI7CgpleHBvcnQgZW51bSBBIHsKICBBLAogIEIsCiAgQywKfQo="
);
console.log(a.a);
console.log(a.A);
console.log(a.A.A);