Replies: 6 comments
-
|
I'm having the same error in my typescript project, one way to workaround this is to ignore node_modules in build adding to tsconfig.json |
Beta Was this translation helpful? Give feedback.
-
|
Hi @macielrsf and @lugonpedro how are you? I tried to reproduce your issue using the tsc and mercadopago versions mentioned by @macielrsf but didn't get any errors. Can you give me more details about your environment and setup? |
Beta Was this translation helpful? Give feedback.
-
|
I'm using node v20.11.0, npm v10.2.4 and pnpm v8.14.1, my dependencies are And my file that uses mercadopago package is this |
Beta Was this translation helpful? Give feedback.
-
|
im working with angular 16 and i have the same problems when i try to compile, temporally working with @lugonpedro solution "dependencies": { |
Beta Was this translation helpful? Give feedback.
-
|
I encountered the same issue and created a repository with the basics to reproduce the error, so you can clone and run https://github.com/ikariwill/mercadopagoexample The problem occurs in the export declare interface SearchOptions {
limit?: number;
offset?: number;
[key: string]: string | number;
}When defining All those inheriting from this interface and having optional properties face this typing issue. The interface below will trigger a typing error for each optional field it has. export declare interface PreApprovalPlanSearchOptions extends SearchOptions {
status?: string;
q?: string;
sort?: string;
criteria?: string;
}Without this line |
Beta Was this translation helpful? Give feedback.
-
|
Hi everyone, I am having the same problem with MercadoPago SDK, I have problems generating the build of my project by the SearchOptions interface, I am updated to the latest version but the problem has not been solved. |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using mercadopago library within a Firebase Cloud Function project also using TypeScript and I'm facing this trouble.
TSC Version: 5.3.3
mercadopago library version: 2.0.6
Beta Was this translation helpful? Give feedback.
All reactions