AvaTax-REST-V2-JS-SDK
AvaTax-REST-V2-JS-SDK copied to clipboard
Regression: `timeout` is optional according to README but required by TypeScript
This issue has been fixed once already in 23.8.1 but manifests again in 23.11.0. First reported in https://github.com/avadev/AvaTax-REST-V2-JS-SDK/issues/284
When creating new Avatax client instance using new Avatax({...}), I get a TypeScript error that the Property timeout is missing in the passed object but required by the constructor. In documentation it is marked as optional and in code I can see it has a default value. It's just the type that is wrong.
Any update on this?
@svc-developer please could you take a look at this?
@petrm-integromat Yes will take a look here
24.6.4 addresses this issue, thank you