TypeScript: support optional and rest elements in static tuple type

This commit is contained in:
Asger F
2018-08-20 15:53:23 +01:00
parent 96005d2147
commit d26aa04642
4 changed files with 57 additions and 1 deletions

View File

@@ -738,6 +738,15 @@ self_types(
int selfType: @typereference ref
);
tuple_type_min_length(
unique int typ: @type ref,
int minLength: int ref
);
tuple_type_rest(
unique int typ: @type ref
);
// comments
comments (unique int id: @comment,
int kind: int ref,