This error is now fixed!
Use this exact version @microsoft/signalr:"8.0.0" instead of any other versions and this error will be fixed :)