Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法让我的构造函数参数注释显示在下图所示的自动完成对话框中(VSCode)?谢谢。
我的另一个问题是如何自动完成动态添加的道具类型?例如,Object.assign(this, someObj);以这种方式添加的任何道具,即使someObj在@type与实例交互时接收没有自动完成/类型。
Object.assign(this, someObj);
someObj
@type