mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -05:00
18 lines
308 B
TypeScript
18 lines
308 B
TypeScript
|
import { printHello2, returnsFoo } from "./subdir2/mod2.ts";
|
||
|
|
||
|
export function returnsHi(): string {
|
||
|
return "Hi";
|
||
|
}
|
||
|
|
||
|
export function returnsFoo2(): string {
|
||
|
return returnsFoo();
|
||
|
}
|
||
|
|
||
|
export function printHello3() {
|
||
|
printHello2();
|
||
|
}
|
||
|
|
||
|
export function throwsError() {
|
||
|
throw Error("exception from mod1");
|
||
|
}
|