doc: more and better type annotations
This commit is contained in:
parent
d10e7f442f
commit
1fe476daf0
9 changed files with 167 additions and 50 deletions
|
|
@ -9,7 +9,7 @@ local FIELD_META = constants.FIELD_META
|
|||
|
||||
local all_columns = {}
|
||||
|
||||
---@alias oil.ColumnSpec string|table
|
||||
---@alias oil.ColumnSpec string|{[1]: string, [string]: any}
|
||||
|
||||
---@class (exact) oil.ColumnDefinition
|
||||
---@field render fun(entry: oil.InternalEntry, conf: nil|table): nil|oil.TextChunk
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue