Skip to content

Object member type defined by JSDoc @property tags are not recoganized #9620

Closed
@zhengbli

Description

@zhengbli

From: #9276 (comment)

#8103
Format 3 doesn't work properly

/**
 * @typedef {Object} Product
 * @property {String} name
 */

/**
 * Creates a product instance
 * @return {Product}
 */
function makeProduct() {}

screen shot 2016-07-10 at 9 14 20 pm


$ tsc -v
Version 2.0.0-dev.20160707

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions