typescript - 我的 tsconfig.json 文件应该使用什么架构?

标签 typescript visual-studio jsonschema tsconfig

enter image description here

我的 tsconfig.json 文件应该使用什么架构?我不知道为什么 - 但突然 Visual Studio 不断邀请我为我的 tsconfig.json 文件选择一个架构。我以前从未注意到这一点。当我编辑文件时,在第 1 行上方我看到 。如果我单击它,我会得到大约无数模式的列表。我根本不知道该使用哪一个。有什么建议吗?

我暂时随机挑选了https://json-schema.org/draft/2020-12/schema

最佳答案

我只是想弄清楚为什么我在编辑 tsconfig.json 时丢失了智能感知。我在列表中找到了以下内容,它似乎运行良好。

https://json.schemastore.org/tsconfig.json

关于typescript - 我的 tsconfig.json 文件应该使用什么架构?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/74387741/

相关文章:

angular - <selector> 不是已知元素 Angular 9 自定义库

javascript - 如何在 typescript 中从 Map 获取所有键?

visual-studio - 如何在 Visual Studio 2017 中配置 TypeScript 和 Require

visual-studio - 如何更改 Visual Studio 2012 中的行距?

java - C 中的 JSON 模式代码生成

node.js - Node 情况下的 Typescript IOC

Visual Studio 2017 中的 Python 3.6 如何在交互式 Shell 中运行程序

c# - 使用 Application Insights 的 Azure Function 中出现内存不足异常

JSON Schema 比较两个属性为等长数组

java - jsonSchema 用于验证有条件所需的属性