Skip to content

Multiline JSDoc Types #467

Description

@mjbvz

From microsoft/vscode#27777

TS and JS Grammar Extension version: 0.0.20

Code

/**
 * @param {{
 *  z: number
 * }} x
 */
function foo(x){}

Current highlighting:

screen shot 2017-05-31 at 2 49 02 pm

There seems to be some debate about whether this is supported or not: jscs-dev/node-jscs#245 but it seems closure supports this syntax

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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