types: update type annotations for LuaLS 3.7

This commit is contained in:
Steven Arcangeli 2023-08-24 09:15:06 -07:00
parent b61bc9b701
commit e45aeebc2b
9 changed files with 34 additions and 16 deletions

View file

@ -12,7 +12,7 @@ local all_columns = {}
---@alias oil.ColumnSpec string|table
---@class oil.ColumnDefinition
---@class (exact) oil.ColumnDefinition
---@field render fun(entry: oil.InternalEntry, conf: nil|table): nil|oil.TextChunk
---@field parse fun(line: string, conf: nil|table): nil|string, nil|string
---@field meta_fields nil|table<string, fun(parent_url: string, entry: oil.InternalEntry, cb: fun(err: nil|string))>