Update README.md

This commit is contained in:
2025-09-25 20:11:45 -04:00
committed by GitHub
parent 7b99447125
commit 5b6a73b20c
+1 -1
View File
@@ -119,7 +119,7 @@ When you add a new option (via a command line flag), add it to `./lib/types.luau
When you add a new function to any library, add it to the function's type. If you add a new library, define a type for it and type cast the module to it: When you add a new function to any library, add it to the function's type. If you add a new library, define a type for it and type cast the module to it:
```luau ```luau
export type YourModule = { export type YourModule = {
yourFunction: (...) -> unknown, yourFunction: (...) -> unknown,
} }
-- note the camel case vs pascal case -- note the camel case vs pascal case
local yourModule = {} :: YourModule local yourModule = {} :: YourModule