TypeScript: support syntax for rest elements in tuple types

This commit is contained in:
Asger F
2018-08-20 14:27:48 +01:00
parent 204b2a3002
commit 241ce10da4
6 changed files with 23 additions and 0 deletions

View File

@@ -558,6 +558,7 @@ case @typeexpr.kind of
| 31 = @importnamespaceaccess
| 32 = @importvartypeaccess
| 33 = @optionaltypeexpr
| 34 = @resttypeexpr
;
@typeref = @typeaccess | @typedecl;