fix: Improve docs

This commit is contained in:
Myzel394 2024-04-22 21:52:06 +02:00
parent a36cb5b0b1
commit 7a6aedb840
No known key found for this signature in database
GPG Key ID: DEC4AAB876F73185

View File

@ -40,7 +40,7 @@ local function get_contents_from_json_value(entry)
end end
end end
---@param t table|nil|string|number ---@param t table|nil|string|number|boolean
---@return Entry[] ---@return Entry[]
function M:get_entries_from_lua_json(t) function M:get_entries_from_lua_json(t)
if PRIMITIVE_TYPES[type(t)] or t == nil then if PRIMITIVE_TYPES[type(t)] or t == nil then