Typescript
This guide covers the basics of using TypeScript with the @icp-sdk/core package.
Configure the moduleResolution
Section titled “Configure the moduleResolution”You must configure your TypeScript compiler to use the a modern moduleResolution strategy.
In your tsconfig.json file, set the moduleResolution to either node16, nodenext, or bundler:
{ "compilerOptions": { "moduleResolution": "node16" }}