Skip to content

Commit c38f3a2

Browse files
committed
Troublesome test case
1 parent 804b812 commit c38f3a2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// @strict: true
2+
const a = () => ({
3+
a: 12,
4+
b: 11
5+
});
6+
7+
declare function f(arg: {a: number}): void;
8+
f(a());

0 commit comments

Comments
 (0)