no-duplicate-spread-property: handle spread of type variables #447
Labels
help wanted
upstream compatibility
Changes needed to support new/upcoming language features or API changes in the TypeScript compiler
microsoft/TypeScript#28234 adds support for spreading type parameters (and other instantiable types) into object literals.
These need to be handled by
no-duplicate-spread-property
to get all known properties of the constraint but treat the type as open ended, so that so that there's no error on it (with the exception of #399).This is also relevant for JSX (#433) because you can already spread type variables in JsxSpreadAttribute.
The text was updated successfully, but these errors were encountered: