Skip to content

Commit d0f3e73

Browse files
committed
Revert fourslash test
1 parent f4bcb74 commit d0f3e73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/cases/fourslash/codeFixMissingTypeAnnotationOnExports52-generics-oversimplification.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
////}
1414

1515
verify.codeFix({
16-
description: "Add return type 'Foo<string, string[]>'",
16+
description: "Add return type 'Foo<string>'",
1717
index: 0,
1818
newFileContent:
1919
`export interface Foo<T, U = T[]> {}
20-
export function foo(x: Foo<string, string[]>): Foo<string, string[]> {
20+
export function foo(x: Foo<string, string[]>): Foo<string> {
2121
return x;
2222
}`,
2323
});

0 commit comments

Comments
 (0)