Improve typings

This commit is contained in:
hrsh7th
2022-07-24 12:44:53 +09:00
parent 89df2cb223
commit bf5593df8e
24 changed files with 154 additions and 130 deletions

View File

@@ -12,7 +12,7 @@ end
---@param list any[]
---@param item any
---@param func fun(a: any, b: any): 1|-1|0
---@return number
---@return integer
binary.search = function(list, item, func)
local s = 1
local e = #list