avadev/AvaTax-REST-V2-JS-SDK

`timeout` is optional according to README but required by TypeScript

Closed this issue · 1 comments

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.

@petrm-integromat Fixed in 23.8.1 release, thanks for the feedback.