This PR serves to add autofix suggestions for @Type() decorators by suggestion the @Type decorator along with inferred type to add in the.
The autofix suggestion should only show up if type are neither union or intersection types
Got the idea from #36, and had done something similar for a custom eslint plugin in my company. Did an early proof-of-concept along with some test cases.
Will clean up the code if this is a feature you think is worth having!
Context
This PR serves to add autofix suggestions for @Type() decorators by suggestion the @Type decorator along with inferred type to add in the.
The autofix suggestion should only show up if type are neither union or intersection types
Got the idea from #36, and had done something similar for a custom eslint plugin in my company. Did an early proof-of-concept along with some test cases.
Will clean up the code if this is a feature you think is worth having!