docs(lua): add LuaCATS type annotations across core modules

This commit is contained in:
Barrett Ruth 2026-03-06 23:02:31 -05:00
parent fc2331c242
commit 1f0414de8e
Signed by: barrett
GPG key ID: A6C96C9349D2FC81
15 changed files with 73 additions and 0 deletions

View file

@ -11,6 +11,7 @@ local STATUS_MESSAGES = {
installing_browser = 'Installing browser...',
}
---@param platform string?
function M.login(platform)
platform = platform or state.get_platform()
if not platform then
@ -68,6 +69,7 @@ function M.login(platform)
end)
end
---@param platform string?
function M.logout(platform)
platform = platform or state.get_platform()
if not platform then