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