mirror of
https://github.com/denoland/deno.git
synced 2024-11-23 15:16:54 -05:00
17 lines
295 B
TypeScript
17 lines
295 B
TypeScript
import { printHello2, returnsFoo } from "mod2";
|
|
|
|
export function returnsHi(): string {
|
|
return "Hi";
|
|
}
|
|
|
|
export function returnsFoo2(): string {
|
|
return returnsFoo();
|
|
}
|
|
|
|
export function printHello3() {
|
|
printHello2();
|
|
}
|
|
|
|
export function throwsError() {
|
|
throw Error("exception from mod1");
|
|
}
|