Skip to content

fix: allow to create a custom class decorator #157

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

Merged
merged 3 commits into from
Oct 12, 2017

Conversation

ktsn
Copy link
Member

@ktsn ktsn commented Oct 1, 2017

fix #155

Previously, createDecorator is not considered to be used for creating a custom class decorator. For this change, we now allows the users to create it officially.

I also changed the createDecorator's type annotation because function overload cannot infer the factory function type.

/ping @HerringtonDarkholme @kaorun343

@kaorun343
Copy link
Contributor

@ktsn

Looks good to me 👍

@yyx990803 yyx990803 merged commit d6ea3e4 into master Oct 12, 2017
@ktsn ktsn deleted the custom-class-decorator branch September 22, 2020 15:20
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

Successfully merging this pull request may close these issues.

Does createDecorator can't decorate classes?
3 participants