Leading comments have trailing separator while trailing comments have leading space This removes the extra trailing space in the trailing comments
6 lines
241 B
JavaScript
6 lines
241 B
JavaScript
//// [subtypingWithCallSignaturesA.ts]
|
|
declare function foo3(cb: (x: number) => number): typeof cb;
|
|
var r5 = foo3((x: number) => ''); // error
|
|
|
|
//// [subtypingWithCallSignaturesA.js]
|
|
var r5 = foo3(function (x) { return ''; }); // error
|