summaryrefslogtreecommitdiff
path: root/tests/testdata/coverage/multisource/bar.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/coverage/multisource/bar.ts')
-rw-r--r--tests/testdata/coverage/multisource/bar.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/testdata/coverage/multisource/bar.ts b/tests/testdata/coverage/multisource/bar.ts
new file mode 100644
index 000000000..123937b0b
--- /dev/null
+++ b/tests/testdata/coverage/multisource/bar.ts
@@ -0,0 +1,7 @@
+export function bar<T>(cond: T) {
+ if (cond) {
+ return 1;
+ } else {
+ return 2;
+ }
+}