I dont think it has much to do with your plugin but im hoping someone might know why my tsc compiler is freaking out.
when i try to compile my modules which has import { SellersApiClient } from "@scaleleap/selling-partner-api-sdk"; in it. I get several errors like the following.
.../src/modules/amazon-sp-api/lib/typings/index.d.ts:96:16 - error TS2665: Invalid module name in augmentation. Module 'amazon-sp-api' resolves to an untyped module at '.../node_modules/amazon-sp-api/index.js', which cannot be augmented.
.../src/modules/amazon-sp-api/lib/typings/index.d.ts:100:5 - error TS1040: 'async' modifier cannot be used in an ambient context.
.../src/modules/amazon-sp-api/lib/typings/index.d.ts:98:34 - error TS1093: Type annotation cannot appear on a constructor declaration.
I dont think it has much to do with your plugin but im hoping someone might know why my tsc compiler is freaking out.
when i try to compile my modules which has
import { SellersApiClient } from "@scaleleap/selling-partner-api-sdk";
in it. I get several errors like the following.my tsconfig
some versions version
npx tsc -v Version 4.3.5
npx typescript -v Version 4.3.5
npm tsc -v 6.9.0
npm typescript -v 6.9.0
npx @types/node -v v10.16.3
npm @types/node -v 6.9.0
node -v v10.16.3
package.json