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// any is considered an untyped function call
2// can be called except with type arguments which is an error
3
4var x: any;
5var a = x();
6var b = x('hello');
7var c = x(x);

After

1// @target: es2015
2// any is considered an untyped function call
3// can be called except with type arguments which is an error
4
5var x: any;
6var a = x();
7var b = x('hello');
8var c = x(x);

Before

program
comment "// any is considered an untyped function call"
comment "// can be called except with type arguments which is an erro"...
variable_declaration
var "var"
variable_declarator
identifier "x"
type_annotation
: ":"
predefined_type
any "any"
; ";"
variable_declaration
var "var"
variable_declarator
identifier "a"
= "="
call_expression
identifier "x"
arguments
( "("
) ")"
; ";"
variable_declaration
var "var"
variable_declarator
identifier "b"
= "="
call_expression
identifier "x"
arguments
( "("
string
' "'"
string_fragment "hello"
' "'"
) ")"
; ";"
variable_declaration
var "var"
variable_declarator
identifier "c"
= "="
call_expression
identifier "x"
arguments
( "("
identifier "x"
) ")"
; ";"

After

program
comment "// @target: es2015"
comment "// any is considered an untyped function call"
comment "// can be called except with type arguments which is an erro"...
variable_declaration
var "var"
variable_declarator
identifier "x"
type_annotation
: ":"
predefined_type
any "any"
; ";"
variable_declaration
var "var"
variable_declarator
identifier "a"
= "="
call_expression
identifier "x"
arguments
( "("
) ")"
; ";"
variable_declaration
var "var"
variable_declarator
identifier "b"
= "="
call_expression
identifier "x"
arguments
( "("
string
' "'"
string_fragment "hello"
' "'"
) ")"
; ";"
variable_declaration
var "var"
variable_declarator
identifier "c"
= "="
call_expression
identifier "x"
arguments
( "("
identifier "x"
) ")"
; ";"