Leading comments have trailing separator while trailing comments have leading space This removes the extra trailing space in the trailing comments
7 lines
245 B
TypeScript
7 lines
245 B
TypeScript
//// [indexer3.ts]
|
|
var dateMap: { [x: string]: Date; } = {}
|
|
var r: Date = dateMap["hello"] // result type includes indexer using BCT
|
|
|
|
//// [indexer3.js]
|
|
var dateMap = {};
|
|
var r = dateMap["hello"]; // result type includes indexer using BCT
|