doc: more detailed type annotations for setup() call

This commit is contained in:
Steven Arcangeli 2024-05-22 13:46:11 -07:00
parent 259b1fbc84
commit 2cb39e838e
6 changed files with 49 additions and 7 deletions

View file

@ -33,7 +33,7 @@ ConvertTo-Json $data -Compress
---@type nil|oil.PowershellConnection
local list_entries_powershell
---@param cb fun(err?: string, raw_entries: oil.WindowsRawEntry[]?)
---@param cb fun(err?: string, raw_entries?: oil.WindowsRawEntry[])
M.list_raw_entries = function(cb)
if not list_entries_powershell then
list_entries_powershell = Powershell.new(list_entries_init)