openai-node: users get unfixable (and inaccurate) type errors when using go-to-source for openai library code

Confirm this is a library issue and not an underlying OpenAI API issue

  • This is an issue with the library

Describe the bug

simply adding the new openai package to my project causes all sorts of type errors when I cmd+click on into the OpenAI source code from my project

CleanShot 2023-08-24 at 17 24 42@2x

To Reproduce

See above.

OS

macOS

Node version

n/a

Library version

4.2.0

About this issue

  • Original URL
  • State: closed
  • Created 10 months ago
  • Comments: 22

Commits related to this issue

Most upvoted comments

Alright sorry I was confused, I had been opening src/index.ts and wasn’t seeing errors, I had to remember to open src/core.ts 😅 A fix is coming!

The fix for this will be out in the next release!