node-chatgpt-api
node-chatgpt-api copied to clipboard
Feature Request: Typed Docs
Thanks @waylaidwanderer for this excellent work. But as a TypeScript developer, I wanted to ask if it is possible to add a typescript documentation when available.
Thanks. I personally don't use TS, though maybe I should since I see the value. PRs are welcome since this will probably be a lower-priority item for me.
@KevinKaiwenZheng Perhaps for the time being you could refer to this project https://github.com/transitive-bullshit/chatgpt-api/blob/main/src/types.ts which this api originally based.
@likev Not really relevant here; the APIs are completely different now.
@waylaidwanderer I personally don't use TS too which is why i prefer your current version。
I think I can complete the .d.ts file. I done my work then I would do
I think I can complete the .d.ts file. I done my work then I would do
https://gist.github.com/weykon/c0bfab2c8afcc73f686fa8ed4136a2e3 I just wrote one d.ts for ChatGPTClient.js