You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Firstly, it would be beneficial to generate TypeScript declarations. The only way to get this package to infer the JSDoc types in a TypeScript project is to explicitly include "node_modules/@hipay/hipay-enterprise-sdk-nodejs/**/*.js" in the tsconfig. By 2025, it is standard practice have type declarations for distributed packages.
Issue
The parameters for requestAvailablePaymentProduct should be typed as AvailablePaymentProductRequest | | ConstructorParameters<typeof AvailablePaymentProductRequest>[0] instead of String.
The text was updated successfully, but these errors were encountered:
Firstly, it would be beneficial to generate TypeScript declarations. The only way to get this package to infer the JSDoc types in a TypeScript project is to explicitly include
"node_modules/@hipay/hipay-enterprise-sdk-nodejs/**/*.js"
in the tsconfig. By 2025, it is standard practice have type declarations for distributed packages.Issue
The parameters for
requestAvailablePaymentProduct
should be typed asAvailablePaymentProductRequest | | ConstructorParameters<typeof AvailablePaymentProductRequest>[0]
instead ofString
.The text was updated successfully, but these errors were encountered: