node-openai
node-openai copied to clipboard
[Deno support] Types not found
When I use Deno (npm via CDNs), node-openai doesn't have any type declarations:
$ deno run --allow-all main.ts
https://esm.sh/v111/[email protected]/lib/types/index.d.ts // long wait...
I try to view the file content on the CDN: https://esm.sh/v111/[email protected]/lib/types/index.d.ts
Types not found
ENV:
deno 1.31.1 (release, x86_64-apple-darwin) v8 11.0.226.13 typescript 4.9.4
I don't know why yet, but passing @deno-types temporarily and use unpkg(https://unpkg.com/[email protected]/lib/types/index.d.ts) solves the problem.