mirror of
https://github.com/denoland/deno.git
synced 2024-11-14 16:33:45 -05:00
10 lines
240 B
TypeScript
10 lines
240 B
TypeScript
|
// with all the imports of the same module, the module should only be
|
||
|
// instantiated once
|
||
|
import "./subdir/auto_print_hello.ts";
|
||
|
|
||
|
import "./subdir/auto_print_hello.ts";
|
||
|
|
||
|
(async () => {
|
||
|
await import("./subdir/auto_print_hello.ts");
|
||
|
})();
|