Leading comments have trailing separator while trailing comments have leading space This removes the extra trailing space in the trailing comments
10 lines
299 B
TypeScript
10 lines
299 B
TypeScript
//// [callExpressionWithTypeParameterConstrainedToOuterTypeParameter.ts]
|
|
interface I<T> {
|
|
<U extends T>(u: U): U;
|
|
}
|
|
var i: I<string>;
|
|
var y = i(""); // y should be string
|
|
|
|
//// [callExpressionWithTypeParameterConstrainedToOuterTypeParameter.js]
|
|
var i;
|
|
var y = i(""); // y should be string
|