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

Weird error message when body is empty object #130

Closed
kevinresol opened this issue Jul 19, 2022 · 2 comments
Closed

Weird error message when body is empty object #130

kevinresol opened this issue Jul 19, 2022 · 2 comments

Comments

@kevinresol
Copy link
Member

@:post('/')
function create(body:{}):Promise<Something>;

error with:

Unknown identifier : body
... For function argument 'body'
@cedx
Copy link
Member

cedx commented Feb 23, 2023

Duplicate of #117 ?

@kevinresol
Copy link
Member Author

Oh you are right

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

2 participants