ws-cleanup-types: Types, api, host: honest annotations; return the full annotated value count

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
4DBugandClaude Opus 5.5 committed 2026-10-31 10:43:19 -05:00
1 parent e35de41c9f
commit 2c15b97cd8
22 files changed
+147 -147

No files matched your search

+3 -3
View File
@@ -23,19 +23,19 @@ end
function Data.base64(text: string, compression: string?): ({ number }?, string?, boolean?)
local raw, err = Base64.decode(text)
if not raw then
return nil, err
return nil, err, nil
end
local bytes: buffer = raw
if compression == "zlib" then
local z, zerr = Deflate.zlib(bytes)
if not z then
return nil, "zlib: " .. tostring(zerr)
return nil, "zlib: " .. tostring(zerr), nil
end
bytes = z
elseif compression == "gzip" then
local z, zerr = Deflate.gunzip(bytes)
if not z then
return nil, "gzip: " .. tostring(zerr)
return nil, "gzip: " .. tostring(zerr), nil
end
bytes = z
elseif compression ~= nil and compression ~= "" then