mistralai / client-js

JS Client library for Mistral AI platform
Apache License 2.0
185 stars 46 forks source link

Typescript types pointing to wrong file #35

Closed brenc closed 6 months ago

brenc commented 10 months ago

Just installed the client. VS Code can't find TS types probably because in package.json this field is incorrect: "types": "src/mistralai.d.ts" when it should be "types": "src/client.d.ts".

brenc commented 10 months ago

Ahh, I see a PR to fix this has been merged but a new release hasn't been issued yet.

Bam4d commented 10 months ago

Hi @brenc Have pushed the new version of the client. let me know if this fixing your issue!