Leading comments have trailing separator while trailing comments have leading space This removes the extra trailing space in the trailing comments
5 lines
175 B
TypeScript
5 lines
175 B
TypeScript
//// [conditionalExpression1.ts]
|
|
var x: boolean = (true ? 1 : ""); // should be an error
|
|
|
|
//// [conditionalExpression1.js]
|
|
var x = (true ? 1 : ""); // should be an error
|