6ab3adfd43
Leading comments have trailing separator while trailing comments have leading space This removes the extra trailing space in the trailing comments
7 lines
221 B
JavaScript
7 lines
221 B
JavaScript
//// [nullAssignedToUndefined.ts]
|
|
var x = undefined = null; // error
|
|
var y: typeof undefined = null; // ok, widened
|
|
|
|
//// [nullAssignedToUndefined.js]
|
|
var x = undefined = null; // error
|
|
var y = null; // ok, widened
|