Closed
Description
TypeScript Version: 3.1.0-dev.20180801
Search Terms: spread tuple
Code
interface Foo<ArgsT extends any[]> {}
interface Bar<SubArgsT extends any[]> extends Foo<[number, ...SubArgsT]>{ }
Expected behavior: Successful compilation. Array subclasses are not allowed as rest arguments for now, but when it is about generics I expect behavior similar to what is done in #24897
Actual behavior: Failed with TS2574: A rest element type must be an array type.