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//@noimplicitany: true
2// this should be an error
3interface IFace {
4 funcOfIFace(); // error at "f"
5}
6
7// this should not be an error
…lines 8–12 unchanged (5 lines)

After

1// @target: es2015
2//@noimplicitany: true
3// this should be an error
4interface IFace {
5 funcOfIFace(); // error at "f"
6}
7
…lines 8–13 unchanged (6 lines)

Before

program
comment "//@noimplicitany: true"
comment "// this should be an error"
interface_declaration
interface "interface"
type_identifier "IFace"
interface_body
{ "{"
method_signature
property_identifier "funcOfIFace"
formal_parameters
( "("
) ")"
; ";"
comment "// error at \"f\""
} "}"
comment "// this should not be an error"
interface_declaration
interface "interface"
type_identifier "IFace1"
interface_body
{ "{"
method_signature
property_identifier "f1"
formal_parameters
( "("
) ")"
type_annotation
: ":"
predefined_type
any "any"
; ";"
} "}"

After

program
comment "// @target: es2015"
comment "//@noimplicitany: true"
comment "// this should be an error"
interface_declaration
interface "interface"
type_identifier "IFace"
interface_body
{ "{"
method_signature
property_identifier "funcOfIFace"
formal_parameters
( "("
) ")"
; ";"
comment "// error at \"f\""
} "}"
comment "// this should not be an error"
interface_declaration
interface "interface"
type_identifier "IFace1"
interface_body
{ "{"
method_signature
property_identifier "f1"
formal_parameters
( "("
) ")"
type_annotation
: ":"
predefined_type
any "any"
; ";"
} "}"