mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
Add tests/003_relative_import.ts
This commit is contained in:
parent
5d146ed742
commit
57c52a83a0
3 changed files with 7 additions and 0 deletions
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