Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

1//// [tests/cases/compiler/noImplicitAnyInContextuallyTypesFunctionParamter.ts] ////
2
3//// [noImplicitAnyInContextuallyTypesFunctionParamter.ts]
4var regexMatchList = ['', ''];
5regexMatchList.forEach(match => ''.replace(match, ''));
6
7
8//// [noImplicitAnyInContextuallyTypesFunctionParamter.js]
9var regexMatchList = ['', ''];
10regexMatchList.forEach(function (match) { return ''.replace(match, ''); });
11

After

1//// [tests/cases/compiler/noImplicitAnyInContextuallyTypesFunctionParamter.ts] ////
2
3//// [noImplicitAnyInContextuallyTypesFunctionParamter.ts]
4var regexMatchList = ['', ''];
5regexMatchList.forEach(match => ''.replace(match, ''));
6
7
8//// [noImplicitAnyInContextuallyTypesFunctionParamter.js]
9var regexMatchList = ['', ''];
10regexMatchList.forEach(match => ''.replace(match, ''));
11

Before

program
comment "//// [tests/cases/compiler/noImplicitAnyInContextuallyTypesF"...
comment "//// [noImplicitAnyInContextuallyTypesFunctionParamter.ts]"
variable_declaration
var "var"
variable_declarator
identifier "regexMatchList"
= "="
array
[ "["
string
' "'"
' "'"
, ","
string
' "'"
' "'"
] "]"
; ";"
expression_statement (+28 nodes collapsed)
comment "//// [noImplicitAnyInContextuallyTypesFunctionParamter.js]"
variable_declaration
var "var"
variable_declarator
identifier "regexMatchList"
= "="
array
[ "["
string
' "'"
' "'"
, ","
string
' "'"
' "'"
] "]"
; ";"
expression_statement
call_expression
member_expression
identifier "regexMatchList"
. "."
property_identifier "forEach"
arguments
( "("
function_expression
function "function"
formal_parameters
( "("
identifier "match"
) ")"
statement_block
{ "{"
return_statement
return "return"
call_expression
member_expression
string
' "'"
' "'"
. "."
property_identifier "replace"
arguments
( "("
identifier "match"
, ","
string
' "'"
' "'"
) ")"
; ";"
} "}"
) ")"
; ";"

After

program
comment "//// [tests/cases/compiler/noImplicitAnyInContextuallyTypesF"...
comment "//// [noImplicitAnyInContextuallyTypesFunctionParamter.ts]"
variable_declaration
var "var"
variable_declarator
identifier "regexMatchList"
= "="
array
[ "["
string
' "'"
' "'"
, ","
string
' "'"
' "'"
] "]"
; ";"
expression_statement (+28 nodes collapsed)
comment "//// [noImplicitAnyInContextuallyTypesFunctionParamter.js]"
variable_declaration
var "var"
variable_declarator
identifier "regexMatchList"
= "="
array
[ "["
string
' "'"
' "'"
, ","
string
' "'"
' "'"
] "]"
; ";"
expression_statement
call_expression
member_expression
identifier "regexMatchList"
. "."
property_identifier "forEach"
arguments
( "("
arrow_function
identifier "match"
=> "=>"
call_expression
member_expression
string
' "'"
' "'"
. "."
property_identifier "replace"
arguments
( "("
identifier "match"
, ","
string
' "'"
' "'"
) ")"
) ")"
; ";"