openai-deno: Type-checking error for zodResponseFormat with Deno and deno.land imports #984
Open
1 task done
Labels
bug
Something isn't working
Confirm this is a Node library issue and not an underlying OpenAI API issue
Describe the bug
Type-checking using "deno check" fails with either
or
when using deno.land imports for OpenAI and Zod.
To Reproduce
(The example is from https://github.com/openai/openai-node/blob/master/helpers.md#auto-parsing-response-content-with-zod-schemas)
With deno.land imports
main.ts
:with
deno.json
:Running
deno check main.ts
fails with:With npm imports
main.ts
:with
deno.json
:Running
deno check main.ts
with npm imports is successfulOS
macOS
Node version
deno 1.45.5, typescript 5.5.2
Library version
4.55.4
The text was updated successfully, but these errors were encountered: