Skip to content

Salsa does not warn or help when passing in wrong argument type #6658

Closed
@egamma

Description

@egamma

From @alexandrudima on January 27, 2016 13:1

Testing #2218

/**
 * @param {string} name
 */
function howdy(name) {

}

howdy(3);

image

even if it knows a string is expected:

image

Copied from original issue: microsoft/vscode#2442

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions