Open jaymehtasa opened 5 years ago
I found as soon as I inject Socket
dependency injection in any service component, it throws this error.
Setting es2015 on tsconfig solved the problem on my side:
"compilerOptions": {
// ....
"lib": [
"es2018",
"dom"
],
"target": "es2015"
}
app.module.ts
socket.service.ts
error
Angular