Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generates incorrect type assignment #395

Open
ChuckJonas opened this issue Nov 10, 2023 · 1 comment
Open

Generates incorrect type assignment #395

ChuckJonas opened this issue Nov 10, 2023 · 1 comment
Labels
bug Something isn't working html

Comments

@ChuckJonas
Copy link

I recently got tripped up by some generated documentation on the deno package site (which I assume is generated by this library?).

default_ChatCompletion____mod_ts___openai_v4_16_1___Deno

Deno doesn't like the default in the import (guessing because it's a keyword) and it's attempting to assign the type to a const?

https://codesandbox.io/p/sandbox/nice-easley-7dt7y4?file=%2Findex.ts%3A2%2C36

@bartlomieju
Copy link
Member

@dsherret could you take a look at this?

@bartlomieju bartlomieju added the bug Something isn't working label Nov 11, 2023
@crowlKats crowlKats added the html label Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working html
Projects
None yet
Development

No branches or pull requests

3 participants