mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
332 B
TypeScript
16 lines
332 B
TypeScript
//// [tests/cases/compiler/importUrlNodeModulesExist.ts] ////
|
|
|
|
//// [package.json]
|
|
{ "name": "foo", "version": "1.0.0" }
|
|
|
|
//// [index.d.ts]
|
|
export declare function useFoo(): string;
|
|
|
|
//// [index.ts]
|
|
import "https://deno.land/[email protected]/path/mod.ts"
|
|
|
|
|
|
|
|
//// [index.js]
|
|
import "https://deno.land/[email protected]/path/mod.ts";
|