Leading comments have trailing separator while trailing comments have leading space This removes the extra trailing space in the trailing comments
13 lines
203 B
TypeScript
13 lines
203 B
TypeScript
//// [moduleWithValuesAsType.ts]
|
|
module A {
|
|
var b = 1;
|
|
}
|
|
|
|
var a: A; // no error
|
|
|
|
//// [moduleWithValuesAsType.js]
|
|
var A;
|
|
(function (A) {
|
|
var b = 1;
|
|
})(A || (A = {}));
|
|
var a; // no error
|