I’m trying to use getChainId in my Angular project and it seems to me like there is a problem with the Moralis import in Angular because I cannot use it like this.
import { Moralis } from 'moralis';
private _chainId = Moralis.getChainId();
console.log(chainId); // 56