admin管理员组文章数量:1122846
I am having an issue when I want to view a react component's definition and occurrences in my create-react-app project in VSCode. It keeps showing the index.d.ts file (node_modules/@types/react/ts5.0/index.d.ts) has the first option. The file links to this:
(
props: P,
/**
* @deprecated
*
* @see {@link .html#referencing-context-in-lifecycle-methods React Docs}
*/
deprecatedLegacyContext?: any,
): ReactElement<any, any> | null;
How can I prevent this file from showing when I command-click on my custom react component?
本文标签:
版权声明:本文标题:reactjs - How can I prevent index.d.ts from showing when I command-click on my custom react component in VSCode - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736302082a1931407.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论