Skip to content
| Marketplace
Sign in
Visual Studio Code
>
Other
>
vsc-gen-global-types
New to Visual Studio Code?
Get it now.
vsc-gen-global-types
zyx28
|
32 installs
|
(
2
)
|
Free
Installation
Launch VS Code Quick Open (
Ctrl+P
), paste the following command, and press enter.
Copy
Copied to clipboard
More Info
Overview
Version History
Q & A
Rating & Review
为你的npm包自动生成ts类型申明文件
借助
ts-morph
插件为每个组件生成的.d.ts文件 右键文件夹菜单,选择 生成类型声明文件global 菜单选项即可在根目录生成global.d.ts为vscode所用
示意图