compat-absent-http-members.ts:10:26 - error SC0001: Property 'createConnection' does not exist on type 'Agent'.

   9 | const agent = new http.Agent({ keepAlive: true });
  10 | console.log(typeof agent.createConnection, typeof agent.keepSocketAlive, typeof agent.reuseSocket);
     |                          ^~~~~~~~~~~~~~~~
  11 | console.log(agent.maxTotalSockets);

compat-absent-http-members.ts:10:57 - error SC0001: Property 'keepSocketAlive' does not exist on type 'Agent'.

   9 | const agent = new http.Agent({ keepAlive: true });
  10 | console.log(typeof agent.createConnection, typeof agent.keepSocketAlive, typeof agent.reuseSocket);
     |                                                         ^~~~~~~~~~~~~~~
  11 | console.log(agent.maxTotalSockets);

compat-absent-http-members.ts:10:87 - error SC0001: Property 'reuseSocket' does not exist on type 'Agent'. Did you mean 'freeSockets'?

   9 | const agent = new http.Agent({ keepAlive: true });
  10 | console.log(typeof agent.createConnection, typeof agent.keepSocketAlive, typeof agent.reuseSocket);
     |                                                                                       ^~~~~~~~~~~
  11 | console.log(agent.maxTotalSockets);

compat-absent-http-members.ts:11:19 - error SC0001: Property 'maxTotalSockets' does not exist on type 'Agent'. Did you mean 'maxSockets'?

  10 | console.log(typeof agent.createConnection, typeof agent.keepSocketAlive, typeof agent.reuseSocket);
  11 | console.log(agent.maxTotalSockets);
     |                   ^~~~~~~~~~~~~~~
  12 | agent.destroy();

compat-absent-http-members.ts:17:23 - error SC0001: Property 'signal' does not exist on type 'IncomingMessage'.

  16 |   // IncomingMessage: the abort signal.
  17 |   console.log(request.signal.aborted);
     |                       ^~~~~~
  18 |   // OutgoingMessage: several headers at once, an arbitrary 1xx response,

compat-absent-http-members.ts:20:12 - error SC0001: Property 'setHeaders' does not exist on type 'ServerResponse'. Did you mean 'setHeader'?

  19 |   // and the state and event behind write()'s result.
  20 |   response.setHeaders(new Map([["x-a", "1"]]));
     |            ^~~~~~~~~~
  21 |   response.writeInformation(103, { link: "</a.css>; rel=preload" });

compat-absent-http-members.ts:21:12 - error SC0001: Property 'writeInformation' does not exist on type 'ServerResponse'.

  20 |   response.setHeaders(new Map([["x-a", "1"]]));
  21 |   response.writeInformation(103, { link: "</a.css>; rel=preload" });
     |            ^~~~~~~~~~~~~~~~
  22 |   console.log(response.writableLength);

compat-absent-http-members.ts:22:24 - error SC0001: Property 'writableLength' does not exist on type 'ServerResponse'.

  21 |   response.writeInformation(103, { link: "</a.css>; rel=preload" });
  22 |   console.log(response.writableLength);
     |                        ^~~~~~~~~~~~~~
  23 |   response.on("drain", () => {});

compat-absent-http-members.ts:23:15 - error SC0001: Argument of type '"drain"' is not assignable to parameter of type '"close" | "finish" | "prefinish"'.

  22 |   console.log(response.writableLength);
  23 |   response.on("drain", () => {});
     |               ^~~~~~~
  24 |   response.end();

compat-absent-http-members.ts:26:7 - error SC0001: Element implicitly has an 'any' type because expression of type 'unique symbol' can't be used to index type 'Server'.
  Property '[SymbolConstructor.asyncDispose]' does not exist on type 'Server'.

  25 | });
  26 | await server[Symbol.asyncDispose]();
     |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  27 | 

compat-absent-http-members.ts:29:6 - error SC0001: Property 'setGlobalProxyFromEnv' does not exist on type 'typeof import("node:http")'.

  28 | // The module: the proxy configuration read from the environment.
  29 | http.setGlobalProxyFromEnv();
     |      ^~~~~~~~~~~~~~~~~~~~~
  30 | 

compat-absent-http-members.ts:32:35 - error SC0001: Type '{}' is missing the following properties from type 'ServerOptions': cert, key

  31 | // https: the same server member.
  32 | const secure = https.createServer({}, (_request, response) => response.end());
     |                                   ^~
  33 | await secure[Symbol.asyncDispose]();

compat-absent-http-members.ts:33:7 - error SC0001: Element implicitly has an 'any' type because expression of type 'unique symbol' can't be used to index type 'Server'.
  Property '[SymbolConstructor.asyncDispose]' does not exist on type 'Server'.

  32 | const secure = https.createServer({}, (_request, response) => response.end());
  33 | await secure[Symbol.asyncDispose]();
     |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
  34 | 