Closed Chris2011 closed 7 years ago
And for changing to void too.
Code fixes are provided by the TypeScript language service at https://github.com/Microsoft/TypeScript/
As of 2.1.4 the only fixes available are inserting a missing super()
call in a subclass's constructor, and moving a super()
call above a this
access. I did my part so that nbts does support these:
If there's a particular code fix you want, go to https://github.com/Microsoft/TypeScript/issues and file a bug there (if nobody else has already).
I know there you can add a lot of hints with fixes with alt + enter on errors/warnings but for me atm I realized it for methos who has a return value like int or Object e.g. but I gave nothing back. I got this error:
what is correct, it is a correct error but when I hit alt + enter I got only the error message but no fixes like in java as you can see it here:
So it would be really great to have such hints + fixes like in java.
Regards
Chris