Skip to content

JSDoc does not appear to work for ES6 class ctors #6646

Closed
@egamma

Description

@egamma

From @alexandrudima on January 27, 2016 14:54

Testing #2218

a is not recognised as a number.

"use strict";

class Something {

    /**
     * @param {number} a
     */
    constructor(a, b) {
        a.
    }
}

Copied from original issue: microsoft/vscode#2460

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