Update baselines with any[] inferences

This commit is contained in:
Nathan Shively-Sanders 2019-09-12 11:18:47 -07:00
parent b69f5af08e
commit 3c79225f48
2 changed files with 3 additions and 3 deletions

View File

@ -10,5 +10,5 @@
//// return p.push(12)
//// }
verify.rangeAfterCodeFix("p: number[], a: string[], b: any[], c: boolean[], d: any[], e: number[]", /*includeWhiteSpace*/ undefined, /*errorCode*/ undefined, /*index*/0);
verify.rangeAfterCodeFix("p: number[], a: string[], b: any[], c: boolean[], d: any[], e: any[]", /*includeWhiteSpace*/ undefined, /*errorCode*/ undefined, /*index*/0);

View File

@ -1,12 +1,12 @@
/// <reference path='fourslash.ts' />
// @noImplicitAny: true
//// function foo([|p, a, b, c, d |]) {
//// function foo([|p, a, b |]) {
//// var x
//// p.charAt(x)
//// a.charAt(0)
//// b.concat('hi')
//// }
verify.rangeAfterCodeFix("p: string, a: string, b: string | string[]", /*includeWhiteSpace*/ undefined, /*errorCode*/ undefined, /*index*/0);
verify.rangeAfterCodeFix("p: string, a: string, b: string | any[]", /*includeWhiteSpace*/ undefined, /*errorCode*/ undefined, /*index*/0);