6ab3adfd43
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
JavaScript
5 lines
240 B
JavaScript
//// [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.
|