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// @target: es5
2// @module: commonjs
3// @declaration: true
4
5declare module "bar" {
6 var before: typeof func;
7
…lines 8–11 unchanged (4 lines)

After

1// @target: es5, es2015
2// @module: commonjs
3// @declaration: true
4
5declare module "bar" {
6 var before: typeof func;
7
…lines 8–11 unchanged (4 lines)

Before

program
comment "// @target: es5"
comment "// @module: commonjs"
comment "// @declaration: true"
ambient_declaration (+46 nodes collapsed)

After

program
comment "// @target: es5, es2015"
comment "// @module: commonjs"
comment "// @declaration: true"
ambient_declaration (+46 nodes collapsed)