test: fix some type warnings (#37483)

This commit is contained in:
zeertzjq
2026-01-21 15:11:47 +08:00
committed by GitHub
parent c556972ae1
commit 1883fe39bd
8 changed files with 19 additions and 15 deletions

View File

@@ -149,9 +149,9 @@ ProcStream.__index = ProcStream
--- @param argv string[]
--- @param env string[]?
--- @param io_extra uv.uv_pipe_t?
--- @param on_exit fun(closed: integer?)? Called after the child process exits.
--- @param forward_stderr forward stderr from the nvim process. otherwise collect it.
--- @param on_exit fun(closed: integer?)? Called after the child process exits.
--- `closed` is the timestamp (uv.now()) when close() was called, or nil if it wasn't.
--- @param forward_stderr boolean? Forward child process stderr, otherwise collect it.
--- @return test.ProcStream
function ProcStream.spawn(argv, env, io_extra, on_exit, forward_stderr)
local self = setmetatable({