TypeScript: support syntax for optional tuple type elements

This commit is contained in:
Asger F
2018-08-20 14:03:59 +01:00
parent 7e7e30c01c
commit 204b2a3002
5 changed files with 19 additions and 1 deletions

View File

@@ -556,7 +556,9 @@ case @typeexpr.kind of
| 29 = @infertypeexpr
| 30 = @importtypeaccess
| 31 = @importnamespaceaccess
| 32 = @importvartypeaccess;
| 32 = @importvartypeaccess
| 33 = @optionaltypeexpr
;
@typeref = @typeaccess | @typedecl;
@typeidentifier = @typedecl | @localtypeaccess | @typelabel | @localvartypeaccess | @localnamespaceaccess;