We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9c6105d commit af8ba9aCopy full SHA for af8ba9a
tests/cases/compiler/functionExpressionReturnTypeNotFresh.ts
@@ -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