mirror of
https://github.com/denoland/deno.git
synced 2024-12-15 11:58:42 -05:00
a013b9113d
Closes https://github.com/denoland/deno/issues/20479 Closes https://github.com/denoland/deno/issues/18744
4 lines
105 B
TypeScript
4 lines
105 B
TypeScript
const specifier = "npm:@denotest/add";
|
|
const { add } = await import(specifier);
|
|
|
|
console.log(add(1, 2));
|