Leading comments have trailing separator while trailing comments have leading space This removes the extra trailing space in the trailing comments
5 lines
240 B
TypeScript
5 lines
240 B
TypeScript
//// [typeofInObjectLiteralType.ts]
|
|
var a: { b: number; c: typeof b }; // Should give error for attempting to use type query on b.
|
|
|
|
//// [typeofInObjectLiteralType.js]
|
|
var a; // Should give error for attempting to use type query on b.
|