From ce6cc9c162786bc8bfe73d8b309c98082bc8ebdb Mon Sep 17 00:00:00 2001 From: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com> Date: Fri, 3 Dec 2021 09:53:10 -0800 Subject: [PATCH] Update rfcs/syntax-default-type-alias-type-parameters.md Co-authored-by: Alan Jeffrey <403333+asajeffrey@users.noreply.github.com> --- rfcs/syntax-default-type-alias-type-parameters.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rfcs/syntax-default-type-alias-type-parameters.md b/rfcs/syntax-default-type-alias-type-parameters.md index e4e81ca6..fcfc1c9e 100644 --- a/rfcs/syntax-default-type-alias-type-parameters.md +++ b/rfcs/syntax-default-type-alias-type-parameters.md @@ -50,6 +50,8 @@ Default type parameter values are also allowed for type packs: ```lua type A -- ok, variadic type pack type C -- ok, type pack with one element +type C -- ok, type pack with two elements +type C -- ok, type pack with no elements type D -- ok ```