Leading comments have trailing separator while trailing comments have leading space This removes the extra trailing space in the trailing comments
8 lines
193 B
TypeScript
8 lines
193 B
TypeScript
//// [stringPropertyAccessWithError.ts]
|
|
var x = '';
|
|
var d = x['charAt']('invalid'); // error
|
|
|
|
//// [stringPropertyAccessWithError.js]
|
|
var x = '';
|
|
var d = x['charAt']('invalid'); // error
|