I'm using socket.io-client with @types/socket.io-client in angular 10
import * as io from 'socket.io-client';
private socket;
private url = 'https://chat.domain.com';
ngOnInit(): void {
this.socket = io(this.url);
console.log("socket =============>>",this.socket);
}
But every time got the same error see the below response
Someone, please help me
