From a0f92227f3fd45f0cc91402b4cc9ebe7bae718cd Mon Sep 17 00:00:00 2001 From: Filip Tibell Date: Sat, 22 Jul 2023 13:47:05 +0200 Subject: [PATCH] More fixes to get moonwave parsing --- docs/typedefs/Process.luau | 7 ++++++- docs/typedefs/Serde.luau | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/typedefs/Process.luau b/docs/typedefs/Process.luau index e4fa07a..aa0ad6d 100644 --- a/docs/typedefs/Process.luau +++ b/docs/typedefs/Process.luau @@ -82,6 +82,7 @@ local process = {} --[=[ @within Process + @prop os OS @tag read_only The current operating system being used. @@ -96,6 +97,7 @@ process.os = (nil :: any) :: OS --[=[ @within Process + @prop arch Arch @tag read_only The architecture of the processor currently being used. @@ -109,6 +111,7 @@ process.arch = (nil :: any) :: Arch --[=[ @within Process + @prop args { string } @tag read_only The arguments given when running the Lune script. @@ -117,6 +120,7 @@ process.args = (nil :: any) :: { string } --[=[ @within Process + @prop cwd string @tag read_only The current working directory in which the Lune script is running. @@ -125,7 +129,8 @@ process.cwd = (nil :: any) :: string --[=[ @within Process - @read_write + @prop { [string]: string? } env + @tag read_write Current environment variables for this process. diff --git a/docs/typedefs/Serde.luau b/docs/typedefs/Serde.luau index da4f187..6bd63db 100644 --- a/docs/typedefs/Serde.luau +++ b/docs/typedefs/Serde.luau @@ -90,7 +90,7 @@ end | `zlib` | https://www.zlib.net | @param format The format to use - @param encoded The string to compress + @param s The string to compress @return The compressed string ]=] function serde.compress(format: CompressDecompressFormat, s: string): string @@ -113,7 +113,7 @@ end | `zlib` | https://www.zlib.net | @param format The format to use - @param encoded The string to decompress + @param s The string to decompress @return The decompressed string ]=] function serde.decompress(format: CompressDecompressFormat, s: string): string