doc: fix typecheck errors in nvim 0.11
This commit is contained in:
parent
ba1f50a9a8
commit
5b38bfe279
4 changed files with 53 additions and 21 deletions
|
|
@ -37,10 +37,10 @@ local win_addslash = function(path)
|
|||
end
|
||||
|
||||
---@class oil.WindowsTrashInfo
|
||||
---@field trash_file string?
|
||||
---@field original_path string?
|
||||
---@field deletion_date string?
|
||||
---@field info_file string?
|
||||
---@field trash_file string
|
||||
---@field original_path string
|
||||
---@field deletion_date integer
|
||||
---@field info_file? string
|
||||
|
||||
---@param url string
|
||||
---@param column_defs string[]
|
||||
|
|
@ -96,6 +96,7 @@ M.list = function(url, column_defs, cb)
|
|||
end
|
||||
cache_entry[FIELD_META] = {
|
||||
stat = nil,
|
||||
---@type oil.WindowsTrashInfo
|
||||
trash_info = {
|
||||
trash_file = entry.Path,
|
||||
original_path = entry.OriginalPath,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue