mirror of
https://github.com/denoland/deno.git
synced 2024-12-29 10:39:10 -05:00
18 lines
307 B
TypeScript
18 lines
307 B
TypeScript
|
import { returnsFoo, printHello2 } from "mod2";
|
||
|
|
||
|
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");
|
||
|
}
|