Support decorators on function declarations #4824
Labels
Needs Proposal
This issue needs a plan that clarifies the finer details of how it could be implemented.
Out of Scope
This idea sits outside of the TypeScript language design constraints
Suggestion
An idea for TypeScript
Hi all.
I think it would be a great feature if we can use decorators with functions too.
Example
It also would enable patterns like Contract, with pre/post conditions checks etc.
The text was updated successfully, but these errors were encountered: