Found by playing around with Matt McCutchen (@mattmccutchen)'s example at #26013 (comment):
interfaceCoolArray<E>extendsArray<E>{hello: number;}declarefunctionfoo<Textendsany[]>(cb: (...args: T)=>void): void;foo<CoolArray<any>>();// errorfoo<CoolArray<any>>(100);// errorfoo<CoolArray<any>>(foo);// no error!!Expected: All of these calls produce an error and have a good error message.
Actual: The first two have bad errors, the last one is considered okay.
Found by playing around with Matt McCutchen (@mattmccutchen)'s example at #26013 (comment):
Expected: All of these calls produce an error and have a good error message.
Actual: The first two have bad errors, the last one is considered okay.