Skip to content

API: expose getTypeOfArrayLiteralOrObjectLiteralDestructuringAssignment #26509

@ajafff

Description

@ajafff

I'd like to be able to inspect the type of a destructuring assignment. Currently there is only getPropertySymbolOfDestructuringAssignment which only works with identifiers and only gets the symbol of one property. I need the whole destructured type.

A custom implementation would need to duplicate a lot code to correctly handle iteration protocol.

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDomain: APIRelates to the public API for TypeScript

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions