JSDoc does not parse type *= correctly #19985
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.7.0-dev.201xxxxx
Code
Expected behavior:
No errors, type for
eventData
isany | undefined
.Actual behavior:
(A parse error on
*=
- a valid jsdoc type (an arity-optional anything))The text was updated successfully, but these errors were encountered: