为什么“esnext.full”在 VS Code 中不被识别为有效的“lib”选项?

问题描述 投票:0回答:0

当我在我的

lib
上指定
compilerOptions
选项时:

    "compilerOptions": {
        "lib": ["esnext.full"]
    }

VS Code 给出了

esnext.full
的警告。我的理解是,这应该是有效的,并且应该大致相当于指定
esnext
以及
DOM
DOM.Iterable
。为什么 VS Code 无法识别
esnext.full

typescript visual-studio-code tsconfig
© www.soinside.com 2019 - 2024. All rights reserved.