Server : Apache System : Linux ks5.tuic.fr 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 User : pragmatice ( 1003) PHP Version : 8.2.24 Disable Function : NONE Directory : /home/etherpad/src/node_modules/@types/supertest/ |
import { AgentOptions as SAgentOptions } from "superagent"; import methods = require("methods"); import { IncomingMessage, RequestListener, ServerResponse } from "http"; import { Http2ServerRequest, Http2ServerResponse } from "http2"; import { Server } from "net"; export type App = | Server | RequestListener<typeof IncomingMessage, typeof ServerResponse> | ((request: Http2ServerRequest, response: Http2ServerResponse) => void) | string; export interface AgentOptions extends SAgentOptions { http2?: boolean; } export type AllMethods = typeof methods[number] | "del";