From eb12d3fb249f48c2235e26ed2d09b203525492bc Mon Sep 17 00:00:00 2001 From: vegorov-rbx <75688451+vegorov-rbx@users.noreply.github.com> Date: Thu, 1 Dec 2022 03:25:29 -0800 Subject: [PATCH] Update docs/_posts/2022-11-30-luau-recap-november-2022.md Co-authored-by: Andy Friesen --- docs/_posts/2022-11-30-luau-recap-november-2022.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_posts/2022-11-30-luau-recap-november-2022.md b/docs/_posts/2022-11-30-luau-recap-november-2022.md index 78ac90d0..29b4c6dc 100644 --- a/docs/_posts/2022-11-30-luau-recap-november-2022.md +++ b/docs/_posts/2022-11-30-luau-recap-november-2022.md @@ -27,7 +27,7 @@ function unwrap(r: Result): T? end ``` -For better inference, we updated definition of `Enum.SomeType:GetEnumItems()` to return `{Enum.SomeType}` instead of common `{EnumItem}` and the return type of `next` function now includes the possibility of key being `nil`. +For better inference, we updated the definition of `Enum.SomeType:GetEnumItems()` to return `{Enum.SomeType}` instead of common `{EnumItem}` and the return type of `next` function now includes the possibility of key being `nil`. Finally, if you use `and` operator on non-boolean values, `boolean` type will no longer be added by the type inference: