mirror of
https://github.com/denoland/deno.git
synced 2024-11-13 16:26:08 -05:00
9dfebbc949
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");
|
|
})();
|