Merge branch 'type-pack-docs' of https://github.com/vegorov-rbx/luau into type-pack-docs

This commit is contained in:
Vyacheslav Egorov 2021-11-30 20:06:33 +02:00
commit 88cb292023

View file

@ -325,7 +325,7 @@ type C<S...> = A<number, S...> -- with a generic type pack
type D = A<number, ()> -- with an empty type pack
```
Trailing type packs arguments can also be provided without parentheses as variadic type arguments:
Trailing type pack argument can also be provided without parentheses by specifying variadic type arguments:
```lua
type List<Head, Rest...> = (Head, Rest...) -> ()