如何让 VSCode 使用 Yarn 识别我的 TypeScript 导入?

时间:2021-06-03 00:10:03

标签: typescript visual-studio-code vscode-settings yarnpkg importerror

我正在使用 TypeScript 并试图让 VSCode 识别我使用 Yarn 导入的 uuid 模块。

问题是在我导入模块后找不到模块或其类型声明,如下所示:

enter image description here

enter image description here

enter image description here

有人知道如何解决这个问题吗?

0 个答案:

没有答案