Hi. I'm trying to migrate some typescript projects to use version 7.4.1 (from 5.1.1). The types are generated without issue, but the compiler throws a ton of errors when attempting to build the projects:
Module '"@polkadot/types/lookup"' has no exported member 'PalletImOnlineHeartbeat' is a good example. None of the stuff being imported from @polkadot/types/lookup can be found
Cannot find name 'PolymeshPrimitivesDocument' where PolymeshPrimitivesDocument is (I assume) some sort of wrapper over our custom Document type. There is no indication that the augmented types are even trying to import the custom types from anywhere
Is there some special configuration required in order to make this work in 7.x?
Hi. I'm trying to migrate some typescript projects to use version 7.4.1 (from 5.1.1). The types are generated without issue, but the compiler throws a ton of errors when attempting to build the projects:
Module '"@polkadot/types/lookup"' has no exported member 'PalletImOnlineHeartbeat'is a good example. None of the stuff being imported from@polkadot/types/lookupcan be foundCannot find name 'PolymeshPrimitivesDocument'wherePolymeshPrimitivesDocumentis (I assume) some sort of wrapper over our customDocumenttype. There is no indication that the augmented types are even trying to import the custom types from anywhereIs there some special configuration required in order to make this work in 7.x?