fermyon / spin-js-sdk

https://developer.fermyon.com/spin/javascript-components
Apache License 2.0
54 stars 18 forks source link

Headers are required when returning a response from TypeScript #86

Closed radu-matei closed 1 year ago

radu-matei commented 1 year ago

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.