This repository was archived by the owner on Jan 19, 2019. It is now read-only.
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
Support unique symbol
type (TS 2.7) #426
Closed
Description
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 },
]