From 62c8a3ecdc31523444badfa52cced1a25b30e7dd Mon Sep 17 00:00:00 2001 From: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com> Date: Tue, 1 Mar 2022 10:49:36 -0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Alexander McCord <11488393+alexmccord@users.noreply.github.com> --- docs/_posts/2022-02-28-luau-recap-february-2022.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/_posts/2022-02-28-luau-recap-february-2022.md b/docs/_posts/2022-02-28-luau-recap-february-2022.md index fda7d333..8a3463f2 100644 --- a/docs/_posts/2022-02-28-luau-recap-february-2022.md +++ b/docs/_posts/2022-02-28-luau-recap-february-2022.md @@ -11,7 +11,7 @@ Luau is our new language that you can read more about at [https://luau-lang.org] We have introduced a syntax to provide default type values inside the type alias type parameter list. -It is now possible to have type functions where the instantiation can omit some of the parameters. +It is now possible to have type functions where the instantiation can omit some type arguments. You can provide concrete types: @@ -33,7 +33,7 @@ local a: EqComp = ... -- (l: number, r: number) -> boolean local b: EqComp = ... -- (l: number, r: string) -> boolean ``` -Type pack parameters can also have a default value: +Type pack parameters can also have a default type pack: ```lua --!strict @@ -43,7 +43,7 @@ local a: Process = ... -- (number) -> ...string local b: Process = ... -- (number) -> (boolean, string) ``` -If all type parameters have a default type value, it is now possible to reference that without providing a type parameter list: +If all type parameters have a default type, it is now possible to reference that without providing any type arguments: ```lua --!strict