Skip to content
This repository has been archived by the owner on Jan 19, 2019. It is now read-only.

Support unique symbol type (TS 2.7) #426

Closed
ikatyang opened this issue Dec 26, 2017 · 3 comments
Closed

Support unique symbol type (TS 2.7) #426

ikatyang opened this issue Dec 26, 2017 · 3 comments

Comments

@ikatyang
Copy link
Contributor

What version of TypeScript are you using?
typescript@2.7.0-dev.20171226

What version of typescript-eslint-parser are you using?
eslint/typescript-eslint-parser#e94ede3

What code were you trying to parse?

type A = unique symbol;
type B = keyof something;

What did you expect to happen?

[
  { "type": "TSTypeOperator", "operator": "TSUniqueKeyword" },
  { "type": "TSTypeOperator", "operator": "TSKeyOfKeyword"  },
]

What happened?

[
  { "type": "TSTypeOperator", "operator": 140 },
  { "type": "TSTypeOperator", "operator": 127 },
]

Ref: microsoft/TypeScript#15473

@JamesHenry
Copy link
Member

JamesHenry commented Jan 12, 2018

Thanks for reporting, and thanks again @azz for already kicking off the PR.

Looks like it's time to start a branch for 2.7! As usual it won't go into master until 2.7 is the stable release.

azz added a commit to azz/typescript-eslint-parser that referenced this issue Jan 27, 2018
@donaldpipowitch
Copy link

2.7 is now the stable release 💕

@JamesHenry
Copy link
Member

Merged 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants