Overriding methods works worse after update

Hi,

I'm not sure which update in particular it was, but at a certain point, overriding methods became less intelligent than it used to be.

I'm working on a TypeScript project, using WebStorm 2019.3, I've noticed this also in 2019.2.

When I used override method functionality in the past (~2018), the overridden method automatically called super.myOverriddenMethod() with all the parameters passed in. Now, there is no super call and I have to write it all by myself. This renders the override method feature quite useless.

Can you please bring back the old one?

Thanks,
Peter

0
3 comments

it works as expected for me in 2019.3:

 

please share code snippets that issue can be reproduced with plus steps to repeat

0
Avatar
Permanently deleted user

Thank you Elena for your sample - I tried your snippet and it worked for me too. Also, extending classes across multiple *.ts files worked fine.

It turned out, that problems start when you try to extend classes from *.d.ts files.

0

I see, thanks for investigations.

I'm not sure if it's a bug, may be intended. Submitted anyway, please follow https://youtrack.jetbrains.com/issue/WEB-42858 for updates

0

Please sign in to leave a comment.