Dotted type in jsdoc is not parsed correctly #16268
Labels
Bug
A bug in TypeScript
Domain: JSDoc
Relates to JSDoc parsing and type generation
Fixed
A PR has been merged for this issue
Milestone
TypeScript Version: 2.4.0-dev.20170605
Code
Expected behavior:
The language service parses the jsdoc as documented in https://github.com/Microsoft/TypeScript/wiki/JSDoc-support-in-JavaScript
Actual behavior:
[js] '}' expected.
at the<
. This appears to be a problem with the dotted type, i.e.import React, {FormEventHandler} from react; …{FormEventHandler<Checkbox>} …
works fine.Reproduced using visual studio code (I don't know how to manually launch and use the language service).
The text was updated successfully, but these errors were encountered: