We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
bring cloud; resource WebHook { api: cloud.Api; init() { this.api = new cloud.Api(); this.api.post("/", inflight (req: cloud.ApiRequest): cloud.ApiResponse => { log(Json.stringify(req)); }); } }
A compiler error that tells me that the inflight closure must return a value of type cloud.ApiResponse
cloud.ApiResponse
No error
N/A
Compiler
No response
The text was updated successfully, but these errors were encountered:
This seems to be a duplicate of #457
Sorry, something went wrong.
No branches or pull requests
I tried this
I expected this:
A compiler error that tells me that the inflight closure must return a value of type
cloud.ApiResponse
Instead, this happened
No error
Is there a workaround?
N/A
Component
Compiler
Wing Version
No response
Wing Console Version
No response
Node.js Version
No response
Platform(s)
No response
Anything else?
No response
Community Notes
The text was updated successfully, but these errors were encountered: