Skip to content

Commit

Permalink
fix(base): fix type annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
pysan3 committed Apr 26, 2024
1 parent 494f79d commit 1c56f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/pathlib/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ end

---Run `vim.fn.globpath` on this path.
---@param pattern string # glob pattern expression
---@return fun(): PathlibPath # iterator of results.
---@return fun(): PathlibPath|nil # iterator of results.
function Path:glob(pattern)
local str = self:tostring()
errs.assert_function("Path:glob", function()
Expand Down

0 comments on commit 1c56f55

Please sign in to comment.