Skip to content

Commit 7d05047

Browse files
committed
Fix fourslash test
1 parent 96fa489 commit 7d05047

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

0 commit comments

Comments
 (0)