<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 --> <!-- Half of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Please help us by doing the following steps before logging an issue: * Search: https://github.com/Microsoft/TypeScript/search?type=Issues * Read the CONTRIBUTING guidelines: https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ --> <!-- If you have a QUESTION: THIS IS NOT A FORUM FOR QUESTIONS. Ask questions at http://stackoverflow.com/questions/tagged/typescript or https://gitter.im/Microsoft/TypeScript --> <!-- If you have a SUGGESTION: Most suggestion reports are duplicates, please search extra hard before logging a new suggestion. See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md --> <!-- If you have a BUG: Please fill in the *entire* template below. --> <!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. --> **TypeScript Version:** 2.8.1 (vs code newest) <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** rest parameter destructuring generic **Code**  **Expected behavior:** no error (because TA extends A, and A is an object, and rest parameters should work with objects...). It worked with ts 2.7.2, but NOT with 2.8.1 **Actual behavior:** see pic **Playground Link:** <!-- A link to a TypeScript Playground "Share" link which demonstrates this behavior --> http://www.typescriptlang.org/play/index.html#src=interface%20A%20%7B%7D%0D%0A%0D%0Aclass%20MyClass%3CTA%20extends%20A%3E%7B%0D%0A%20%20%20%20method()%20%7B%0D%0A%20%20%20%20%20%20%20%20const%20a%3A%20A%20%3D%20null%20as%20any%3B%0D%0A%20%20%20%20%20%20%20%20const%20%7B%20...props1%20%7D%20%3D%20a%3B%0D%0A%20%20%20%20%20%20%20%20const%20ab%3A%20TA%20%3D%20null%20as%20any%3B%0D%0A%0D%0A%0D%0A%0D%0A%20%20%20%20%20%20%20%20const%20%7B%20...props2%20%7D%20%3D%20ab%3B%0D%0A%20%20%20%20%7D%0D%0A%7D%0D%0A **Related Issues:**
TypeScript Version: 2.8.1 (vs code newest)
Search Terms: rest parameter destructuring generic
Code
Expected behavior: no error (because TA extends A, and A is an object, and rest parameters should work with objects...).
It worked with ts 2.7.2, but NOT with 2.8.1
Actual behavior: see pic
Playground Link: http://www.typescriptlang.org/play/index.html#src=interface%20A%20%7B%7D%0D%0A%0D%0Aclass%20MyClass%3CTA%20extends%20A%3E%7B%0D%0A%20%20%20%20method()%20%7B%0D%0A%20%20%20%20%20%20%20%20const%20a%3A%20A%20%3D%20null%20as%20any%3B%0D%0A%20%20%20%20%20%20%20%20const%20%7B%20...props1%20%7D%20%3D%20a%3B%0D%0A%20%20%20%20%20%20%20%20const%20ab%3A%20TA%20%3D%20null%20as%20any%3B%0D%0A%0D%0A%0D%0A%0D%0A%20%20%20%20%20%20%20%20const%20%7B%20...props2%20%7D%20%3D%20ab%3B%0D%0A%20%20%20%20%7D%0D%0A%7D%0D%0A
Related Issues: