From 1c56f55e89a66654df47e5ed2a35885bfb79d90d Mon Sep 17 00:00:00 2001 From: pysan3 Date: Fri, 26 Apr 2024 23:17:05 +0900 Subject: [PATCH] fix(base): fix type annotations --- lua/pathlib/base.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/pathlib/base.lua b/lua/pathlib/base.lua index a8d9b07..0763c9a 100644 --- a/lua/pathlib/base.lua +++ b/lua/pathlib/base.lua @@ -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()