summaryrefslogtreecommitdiff
path: root/cli/tests/bundle_im.ts
blob: b751aa6897d2f56c7356645987d86acecdf5bfa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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");
}