some type stuff

This commit is contained in:
2025-02-16 00:19:54 +03:00
parent 4c5006d1e7
commit b7e027cdc6
2 changed files with 3 additions and 1 deletions

View File

@ -154,7 +154,7 @@ function List:shuffled()
end
---Returns a sorted copy of this list.
---@param f? fun(a: any, b: any)
---@param f? fun(a: any, b: any): boolean
---@return List
function List:sorted(f)
local list = self:copy()