Skip to content

JSDoc syntax highlight. Not supported 'Array of Arrays' #17912

Closed

Description

  • VSCode Version:
    image

  • OS Version: Linux Mint 18

Steps to Reproduce:

  1. Write code:
/* jshint esnext:true */

/**
 * @param {Array<string>} a1
 * @param {Array<Array<string>>} a2
 */
function myFunc(a1, a2) {

}
  1. See that:
    image

  2. Yes, it's correct
    https://github.com/google/closure-compiler/wiki/Types-in-the-Closure-Type-System#types-in-javascript
    image

Activity

  1. mjbvz commented on Dec 29, 2016

    @mjbvz
    Contributor

    Looks like a syntax highlighting issue on our side. Hovering over a2, I see it has the correct string[][] type.

  2. mjbvz commented on Dec 29, 2016

    @mjbvz
    Contributor

    This issue was moved to microsoft/TypeScript-TmLanguage#392

  3. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

javascriptJavaScript support issueslanguages-basicBasic language support issues

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions