The 'this' context of type '{ (event: string, listener: (...args: any[]) => void): Server<typeof IncomingMessage, typeof ServerResponse>; (event: "close", listener: () => void): Server<...>; (event: "connection", listener: (socket: Socket) => void): Server<...>; (event: "error", listener: (err: Error) => void): Server<...>; (event: "listening"...' is not assignable to method's 'this' of type '(this: HttpServer, event: "upgrade", listener: (req: IncomingMessage, socket: Duplex, head: Buffer) => void) => Server<typeof IncomingMessage, typeof ServerResponse>'.