Skip to content

Allow custom object types in JSDoc #7847

@GRiMe2D

Description

@GRiMe2D

I'm using "vanilla" javascript for development. If I write custom object type in JSDoc, it appears as any or void . It will be more helpful, if one can type custom types.

  • VSCode Version: 1.1.1 (1.1.1)
  • OS Version: OSX (10.11.4)

Steps to Reproduce:
1.

/**
 * @param document {Object}
 * @returns {Object}
 */
function addDocument(document) {

}

screen shot 2016-06-18 at 3 07 53 pm
1.

/**
 * @param document {ProductProjection}
 * @returns {ObjectId}
 */
function addDocument(document) {

}

screen shot 2016-06-18 at 3 07 15 pm

Metadata

Metadata

Assignees

Labels

javascriptJavaScript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions