lint: use more specific type for internal entries

This commit is contained in:
Steven Arcangeli 2025-10-15 10:42:52 -07:00
parent f55ebb0079
commit 71948729cd
4 changed files with 7 additions and 7 deletions

View file

@ -2,7 +2,7 @@ local M = {}
---Store entries as a list-like table for maximum space efficiency and retrieval speed.
---We use the constants below to index into the table.
---@alias oil.InternalEntry any[]
---@alias oil.InternalEntry {[1]: integer, [2]: string, [3]: oil.EntryType, [4]: nil|table}
-- Indexes into oil.InternalEntry
M.FIELD_ID = 1