fix: allow bigInt in method name and TSLiteralType (#11547)

* refactor: add isLiteralPropertyName to parser utils

* address review comments [skip-ci]

* refactor: keyword is valid identifierName

* fix: allow bigint in TSLiteralType

* update typescript test whitelist
This commit is contained in:
Huáng Jùnliàng
2020-05-14 18:40:52 -04:00
committed by GitHub
parent de8264c8a7
commit 2f31ecf85d
11 changed files with 270 additions and 18 deletions

View File

@@ -47,9 +47,7 @@ augmentedTypesEnum2.ts
augmentedTypesFunction.ts
augmentedTypesInterface.ts
augmentedTypesVar.ts
bigIntWithTargetES3.ts
bigintIndex.ts
bigintWithLib.ts
cacheResolutions.ts
cachedModuleResolution1.ts
cachedModuleResolution2.ts
@@ -320,7 +318,6 @@ nodeResolution4.ts
nodeResolution6.ts
nodeResolution8.ts
nonMergedOverloads.ts
numberVsBigIntOperations.ts
objectLiteralMemberWithoutBlock1.ts
outModuleConcatAmd.ts
outModuleConcatCommonjs.ts