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