mirror of
https://github.com/denoland/deno.git
synced 2025-02-24 06:02:18 -05:00

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> Co-authored-by: LE GOFF Vincent <g_n_s@hotmail.fr>
9 lines
255 B
TypeScript
9 lines
255 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 (): Promise<void> => {
|
|
await import("./subdir/auto_print_hello.ts");
|
|
})();
|