Hi!
I stumbled upon the same problem. But this can be conveniently be monkey patched.
Making web3/bitcore-lib work with Angular 6-11 and >=11 (github.com)
Just tried it with a fresh Angular 11 app and could retrieve the Data from Dgraph backend no problem. Before the monkey patch the error you named gave me trouble as well.