Skip to content

Commit 93e0e7d

Browse files
committed
Fixed fourslash tests
1 parent f567369 commit 93e0e7d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/cases/fourslash/genericTypeArgumentInference2.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
////var /*4*/r4 = _./*41*/all([<any>true], _.identity);
1919

2020
verify.quickInfos({
21-
1: "var r: string | number | boolean",
22-
11: "(method) Underscore.Static.all<string | number | boolean>(list: (string | number | boolean)[], iterator?: Underscore.Iterator<string | number | boolean, boolean>, context?: any): string | number | boolean",
21+
1: "var r: T",
22+
11: "(method) Underscore.Static.all<T>(list: T[], iterator?: Underscore.Iterator<T, boolean>, context?: any): T",
2323

2424
2: "var r2: boolean",
2525
21: "(method) Underscore.Static.all<boolean>(list: boolean[], iterator?: Underscore.Iterator<boolean, boolean>, context?: any): boolean",
@@ -30,4 +30,4 @@ verify.quickInfos({
3030
4: "var r4: any",
3131
41: "(method) Underscore.Static.all<any>(list: any[], iterator?: Underscore.Iterator<any, boolean>, context?: any): any"
3232
});
33-
verify.noErrors();
33+
verify.numberOfErrorsInCurrentFile(1);

0 commit comments

Comments
 (0)