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

Cannot find name 'HeadersInit'. #20

Open
hanwei808 opened this issue May 25, 2024 · 0 comments
Open

Cannot find name 'HeadersInit'. #20

hanwei808 opened this issue May 25, 2024 · 0 comments

Comments

@hanwei808
Copy link

node_modules/jinaai/dist/src/clients/HTTPClient.d.ts:3:14 - error TS2304: Cannot find name 'HeadersInit'.
node_modules/jinaai/dist/src/clients/JinaChatClient.d.ts:73:73 - error TS2304: Cannot find name 'ReadableStreamDefaultReader'.
stream(data: JinaChatRawInput, _options?: JinaChatOptions): Promise;
node_modules/jinaai/dist/src/jinaai.d.ts:46:140 - error TS2304: Cannot find name 'ReadableStreamDefaultReader'.
generate(input: JinaChatRawInput | Array | string, options?: T): Promise<T['stream'] extends true ? ReadableStreamDefaultReader : JinaChatOutput>;

node version 18.20.3
typescript version 5.4.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant