ci: fix lint and tau rpc typing

This commit is contained in:
Peter Steinberger
2025-12-02 21:12:51 +00:00
parent 4e20a20927
commit 96722bba08
2 changed files with 8 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ describe("media store redirects", () => {
it("follows redirects and keeps detected mime/extension", async () => {
let call = 0;
mockRequest.mockImplementation((url, _opts, cb) => {
mockRequest.mockImplementation((_url, _opts, cb) => {
call += 1;
const res = new PassThrough();
const req = {

View File

@@ -7,7 +7,13 @@ type TauRpcOptions = {
timeoutMs: number;
};
type TauRpcResult = { stdout: string; stderr: string; code: number };
type TauRpcResult = {
stdout: string;
stderr: string;
code: number;
signal?: NodeJS.Signals | null;
killed?: boolean;
};
class TauRpcClient {
private child: ChildProcessWithoutNullStreams | null = null;