deno_doc icon indicating copy to clipboard operation
deno_doc copied to clipboard

Generates incorrect type assignment

Open ChuckJonas opened this issue 2 years ago • 1 comments

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

ChuckJonas avatar Nov 10 '23 01:11 ChuckJonas

@dsherret could you take a look at this?

bartlomieju avatar Nov 11 '23 08:11 bartlomieju