6ab3adfd43
Leading comments have trailing separator while trailing comments have leading space This removes the extra trailing space in the trailing comments
17 lines
236 B
JavaScript
17 lines
236 B
JavaScript
//// [emptyIndexer.ts]
|
|
interface I1 {
|
|
m(): number;
|
|
}
|
|
|
|
interface I2 {
|
|
[s:string]: I1;
|
|
}
|
|
|
|
|
|
var x: I2;
|
|
|
|
var n = x[''].m(); // should not crash compiler
|
|
|
|
//// [emptyIndexer.js]
|
|
var x;
|
|
var n = x[''].m(); // should not crash compiler
|