We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
7.3.0
21.4.0
Windows
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, } }
To be able to build the app while using EasyPostClient
No response
The text was updated successfully, but these errors were encountered:
Hello there, thanks for writing in!
I believe there's an issue with your provided code snippet, you should be trying to construct an EasyPostClient object, not an EasyPost object
EasyPostClient
EasyPost
import EasyPostClient from '@easypost/api'; export class ShippingMailingService { private readonly easyPostClient: EasyPostClient constructor() { this.easyPostClient = new EasyPostClient('apiKey') } }
Sorry, something went wrong.
Hello there, thanks for writing in! I believe there's an issue with your provided code snippet, you should be trying to construct an EasyPostClient object, not an EasyPost object import EasyPostClient from '@easypost/api'; export class ShippingMailingService { private readonly easyPostClient: EasyPostClient constructor() { this.easyPostClient = new EasyPostClient('apiKey') } }
Thanks for the answer @nwithan8. I get the same error that didn't solve this problem.
has anyone found a workaround for this yet?
Successfully merging a pull request may close this issue.
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
The text was updated successfully, but these errors were encountered: