mirror of
https://github.com/denoland/deno
synced 2024-08-24 18:47:06 +00:00
Add tests/003_relative_import.ts
This commit is contained in:
parent
5d146ed742
commit
57c52a83a0
3
tests/003_relative_import.ts
Normal file
3
tests/003_relative_import.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
import { printHello } from "./subdir/print_hello.ts";
|
||||
|
||||
printHello();
|
1
tests/003_relative_import.ts.out
Normal file
1
tests/003_relative_import.ts.out
Normal file
|
@ -0,0 +1 @@
|
|||
Hello
|
3
tests/subdir/print_hello.ts
Normal file
3
tests/subdir/print_hello.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
export function printHello(): void {
|
||||
console.log("Hello");
|
||||
}
|
Loading…
Reference in a new issue