VSCode Implement Method Shortcut

后端 未结 5 1995
暗喜
暗喜 2021-01-01 12:21

I\'m using VSCode, Exist, a way to implement the methods that are within an interface in typescript using some shortcut keys or set for it.

I searched on the website

5条回答
  •  鱼传尺愫
    2021-01-01 13:20

    UPDATE: VS Code now supports this functionality out of the box. Just add the interface, the compiler will highlight the controller with red, right click on the light bulb on the left and click implement interface. Enjoy!

提交回复
热议问题