angular-peerjs
angular-peerjs copied to clipboard
'Peer' only refers to a type but is being used as a namespace here
I am getting error 'Peer' only refers to a type but is being used as a namespace here in ng serve, but its working fine. But I am getting same while doing ng build --prod and build is getting failed. Any solution ?
Do you have this in tsconfig.json?
"allowSyntheticDefaultImports": true
I do but still get the same error
The same issue with me but when i change the version to "peerjs": "^1.3.1" it works.
The same issue with me but when i change the version to "peerjs": "^1.3.1" it works.
when i change the version it works