Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiline union type in function arguments has broken syntax highlighting #715

Closed
infctr opened this issue Jan 24, 2019 · 0 comments
Closed

Comments

@infctr
Copy link

infctr commented Jan 24, 2019

TS and JS Grammar Extension version: 0.0.49 / latest

Code

interface TestCafeFactory {
  Selector(
    init:
      | string
      | ((...args: any[]) => Node | Node[] | NodeList | HTMLCollection)
      | Selector
      | NodeSnapshot
      | SelectorPromise,
    options?: SelectorOptions
  ): Selector;
}

vs.

interface TestCafeFactory {
  Selector(
    init:
      | string | ((...args: any[]) => Node | Node[] | NodeList | HTMLCollection) | Selector | NodeSnapshot | SelectorPromise,
    options?: SelectorOptions
  ): Selector;
}
❯ code-insiders -v
1.31.0-insider
23f534b7b7f439fc39755821ff99ac50fcc10765
x64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant