6ab3adfd43
Leading comments have trailing separator while trailing comments have leading space This removes the extra trailing space in the trailing comments
11 lines
240 B
TypeScript
11 lines
240 B
TypeScript
//// [typeArgInference2WithError.ts]
|
|
interface Item {
|
|
name: string;
|
|
}
|
|
|
|
declare function foo<T extends Item>(x?: T, y?: T): T;
|
|
|
|
var z7 = foo("abc", 5); // Error
|
|
|
|
//// [typeArgInference2WithError.js]
|
|
var z7 = foo("abc", 5); // Error
|