mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
17 lines
320 B
TypeScript
17 lines
320 B
TypeScript
import { returnsFoo, printHello2 } from "./subdir2/mod2.ts";
|
|
|
|
export function returnsHi(): string {
|
|
return "Hi";
|
|
}
|
|
|
|
export function returnsFoo2(): string {
|
|
return returnsFoo();
|
|
}
|
|
|
|
export function printHello3(): void {
|
|
printHello2();
|
|
}
|
|
|
|
export function throwsError(): void {
|
|
throw Error("exception from mod1");
|
|
}
|