mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-18 15:45:39 +01:00
Replace typescript compiler with native tsgo compiler
This commit is contained in:
@@ -65,7 +65,8 @@ export class Agent extends HTTPSAgent {
|
||||
});
|
||||
}
|
||||
|
||||
public createConnection = callbackify(
|
||||
// @ts-expect-error - callbackify() returns the wrong type
|
||||
public createConnection: HTTPSAgent['createConnection'] = callbackify(
|
||||
async (options: RequestOptions): Promise<net.Socket> => {
|
||||
const { host = options.hostname, port: portString } = options;
|
||||
strictAssert(host, 'Agent.createConnection: Missing options.host');
|
||||
|
||||
Reference in New Issue
Block a user