Leading comments have trailing separator while trailing comments have leading space This removes the extra trailing space in the trailing comments
21 lines
288 B
TypeScript
21 lines
288 B
TypeScript
//// [moduleWithNoValuesAsType.ts]
|
|
module A { }
|
|
var a: A; // error
|
|
|
|
module B {
|
|
interface I {}
|
|
}
|
|
var b: B; // error
|
|
|
|
module C {
|
|
module M {
|
|
interface I {}
|
|
}
|
|
}
|
|
|
|
var c: C; // error
|
|
|
|
//// [moduleWithNoValuesAsType.js]
|
|
var a; // error
|
|
var b; // error
|
|
var c; // error
|