Destructuring parameter JSDoc not matched up correctly #24045
Labels
Bug
A bug in TypeScript
Domain: JavaScript
The issue relates to JavaScript specifically
Domain: JSDoc
Relates to JSDoc parsing and type generation
Milestone
TypeScript Version: 2.9.0-dev.201xxxxx
Search Terms:
Code
Expected behavior:
handle
should be of type the type({ response: string, session: number }) => void
.Actual behavior:
In both cases,
handle
has the type(number) => void
.Playground Link:
Related Issues:
The text was updated successfully, but these errors were encountered: