ci: fix lint and tau rpc typing
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user