Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>read-typingNew to Visual Studio Code? Get it now.
read-typing

read-typing

chenfan

|
73 installs
| (1) | Free
读取.scss文件自动生成的.scss.d.ts文件类型,解决vscode类型检测延迟问题
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

read-typing

  • 在开发react时,我们可能会使用css module进行css的编写,并且通过一些工具(例如:typings-for-css-modules-loader)帮助我们自动生成.d.ts的类型声明文件。但是在开发过程往往会出现修改.scss或者.less文件时,.d.ts文件也修改了,但是在.tsx文件中提示的类型还是修改之前的。
  • 该插件会在修改完.scss或者.less文件后,让vscode去读取对应的.d.ts文件,减少修改样式文件后类型显示错误的时间。
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft