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

Headers are required when returning a response from TypeScript #86

Closed
radu-matei opened this issue Dec 23, 2022 · 0 comments · Fixed by #89
Closed

Headers are required when returning a response from TypeScript #86

radu-matei opened this issue Dec 23, 2022 · 0 comments · Fixed by #89
Labels
bug Something isn't working
Milestone

Comments

@radu-matei
Copy link
Member

Trying to send a response from TypeScript without headers:

Property 'headers' is missing in type '{ status: number; body: ArrayBufferLike; }' but required in type 'HttpResponse'.

However, this is not required in JavaScript.

@radu-matei radu-matei added the bug Something isn't working label Dec 23, 2022
@radu-matei radu-matei added this to the v0.3.0 milestone Dec 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant