我想使用报告来分析扩展的使用情况。我可以在扩展代码中报告一些信息,但无法获取下载、卸载、星级等信息。有什么办法可以得到这些信息吗?喜欢 OpenAPI 吗?
visual-studio-code vscode-extensions
从打字稿的文档中,我知道“&”表示“交叉类型”和“|” 代表“联合类型”。但我想知道与以下示例有什么区别:
type Type1 = number | boolean; type Type2 = number & boolean;
typescript
typescript ×1
visual-studio-code ×1
vscode-extensions ×1