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
When using the httpGet, httpPost etc method decorators, I get the following error:
httpGet
httpPost
Unable to resolve signature of method decorator when called as an expression.
To work around this, set target in tsconfig.json to "es5" or "es2015"
target
tsconfig.json
"es5"
"es2015"
We encountered a similar issue in alsatian, the fix was to change the types on a method decorator.
I believe the fix here would be to change the signature of HandlerDecorator to:
HandlerDecorator
(target: object, key: string, value?: any): void;
I have made that change locally and it works.
[email protected]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Issue
When using the
httpGet
,httpPost
etc method decorators, I get the following error:Workaround
To work around this, set
target
intsconfig.json
to"es5"
or"es2015"
Solution
We encountered a similar issue in alsatian, the fix was to change the types on a method decorator.
I believe the fix here would be to change the signature of
HandlerDecorator
to:I have made that change locally and it works.
Your Environment
[email protected]
[email protected]
[email protected]
The text was updated successfully, but these errors were encountered: