fix(backend): lint and typecheck

This commit is contained in:
rectcoordsystem 2024-11-13 03:27:52 +09:00 committed by Julia Johannesen
parent 663c06be00
commit 360d71278a
No known key found for this signature in database
GPG Key ID: 4A1377AF3E7FBC46

View File

@ -80,7 +80,7 @@ class HttpsRequestServiceAgent extends https.Agent {
} }
@bindThis @bindThis
public createConnection(options: Object, callback?: Function): net.Socket { public createConnection(options: net.NetConnectOpts, callback?: (err: unknown, stream: net.Socket) => void): net.Socket {
const socket = super.createConnection(options, callback) const socket = super.createConnection(options, callback)
.on('connect', () => { .on('connect', () => {
const address = socket.remoteAddress; const address = socket.remoteAddress;
@ -110,7 +110,6 @@ class HttpsRequestServiceAgent extends https.Agent {
} }
} }
@Injectable() @Injectable()
export class HttpRequestService { export class HttpRequestService {
/** /**