import EasyPost from '@easypost/api';
export class ShippingMailingService {
private readonly easyPostClient: EasyPost
constructor() {
this.easyPostClient = new EasyPost('apiKey')
}
}
{
"compilerOptions": {
"module": "commonjs",
"declaration": false,
"removeComments": true,
"noLib": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
"target": "es2017",
"sourceMap": true,
"allowJs": true,
"outDir": "./dist",
"baseUrl": "./",
"lib": ["ES7", "ES2021", "DOM"],
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": false,
"noImplicitAny": false,
"strictBindCallApply": false,
"forceConsistentCasingInFileNames": false,
"noFallthroughCasesInSwitch": false,
}
}
Software Version
7.3.0
Language Version
21.4.0
Operating System
Windows
What happened?
What was expected?
To be able to build the app while using EasyPostClient
Sample Code
Relevant logs
No response