fix(types): use vararg return type annotation

build(types): allow vararg returns in function types
This commit is contained in:
Will Hopkins
2024-06-01 00:18:59 -07:00
committed by Lewis Russell
parent c06f3dbe3e
commit e947f226be
3 changed files with 7 additions and 6 deletions

View File

@@ -276,7 +276,7 @@ end
--- -- { 6, 12 }
--- ```
---
---@param f fun(...):any Mapping function. Takes all values returned from
---@param f fun(...):...:any Mapping function. Takes all values returned from
--- the previous stage in the pipeline as arguments
--- and returns one or more new values, which are used
--- in the next pipeline stage. Nil return values