Skip to content

[Salsa] Handel both cases for primitive types in JSDOC #14230

@mhegazy

Description

@mhegazy

JSDoc users commonly use both cases for native types. e.g.:

/**
 * @param {Number} a
 * @param {string} b
 */

Currently Number refers to interface Number instead of the primitive type number.

See relevant discussion in jsdoc/jsdoc#1046

Metadata

Metadata

Assignees

Labels

BugA bug in TypeScriptDomain: JSDocRelates to JSDoc parsing and type generationFixedA PR has been merged for this issue

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions