Closed
Labels
Domain: JSDocRelates to JSDoc parsing and type generationRelates to JSDoc parsing and type generationFixedA PR has been merged for this issueA PR has been merged for this issue
Description
TypeScript Version: nightly (2.5.0-dev.20170629)
Code
// @ts-check
/** @type number */
const x = "";Expected behavior:
Syntax error: @type needs curly braces.
Actual behavior:
No error.
Metadata
Metadata
Assignees
Labels
Domain: JSDocRelates to JSDoc parsing and type generationRelates to JSDoc parsing and type generationFixedA PR has been merged for this issueA PR has been merged for this issue
Activity