WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Multiline JSDoc Types #467

@mjbvz

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

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