mirror of
https://github.com/denoland/deno.git
synced 2025-02-21 12:53:05 -05:00

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));
|