From b211c70f4753df829cbb2e8a4ace9e209b1303e5 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Fri, 5 Jul 2024 23:36:38 +0530 Subject: [PATCH] Update type section sentence --- src/content/posts/luau-for-js-devs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/posts/luau-for-js-devs/index.md b/src/content/posts/luau-for-js-devs/index.md index 7111738..fb7e29b 100644 --- a/src/content/posts/luau-for-js-devs/index.md +++ b/src/content/posts/luau-for-js-devs/index.md @@ -37,7 +37,7 @@ I will mostly be speaking about TypeScript, since I have more experience with it Both of these problems aren’t existent in Luau. In Luau, types are simple by design, while also providing sweet autocomplete and strong typechecking - adhering to the Lua philosophy of power through simplicity. Community-made tooling also tries to stick to this philosophy, leading to a strong competition to JavaScript in terms simplicity, which many prefer the language for. -A simple example of this in Luau types is this following generic type for excluding a type from a list of compatible ones: +A simple example of this in Luau types is this following which satisfies all types other than a specified one: ```ts type ExcludeTypes = T extends U ? never : T;