docs(lua): add LuaCATS type annotations across core modules
This commit is contained in:
parent
fc2331c242
commit
1f0414de8e
15 changed files with 73 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue