doc: more and better type annotations

This commit is contained in:
Steven Arcangeli 2024-08-30 17:50:09 -07:00
parent d10e7f442f
commit 1fe476daf0
9 changed files with 167 additions and 50 deletions

View file

@ -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