JSDoc function type not parsed correctly when nested #19986
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:
Strong types for
extension
andpredicate
.Actual behavior:
(An error on the inner
function
, rather than a correctly constructed type)The text was updated successfully, but these errors were encountered: