mirror of
https://github.com/denoland/deno.git
synced 2024-12-24 08:09:08 -05:00
54240c22af
Closes: #5059 Co-authored-by: Valentin Anger <syrupthinker@gryphno.de>
14 lines
274 B
TypeScript
14 lines
274 B
TypeScript
// 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);
|