2019-09-07 00:15:19 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @noImplicitAny: true
|
2019-09-12 20:18:47 +02:00
|
|
|
//// function foo([|p, a, b |]) {
|
2019-09-07 00:15:19 +02:00
|
|
|
//// var x
|
|
|
|
//// p.charAt(x)
|
|
|
|
//// a.charAt(0)
|
|
|
|
//// b.concat('hi')
|
|
|
|
//// }
|
|
|
|
|
2019-09-12 20:18:47 +02:00
|
|
|
verify.rangeAfterCodeFix("p: string, a: string, b: string | any[]", /*includeWhiteSpace*/ undefined, /*errorCode*/ undefined, /*index*/0);
|
2019-09-07 00:15:19 +02:00
|
|
|
|