typed scss modules:using使用SCSS为CSS模块生成类型定义(.d.ts) 源码
:wrapped_gift: typed-scss-模块 生成打字稿定义( .d.ts对于那些写在SCSS(CSS模块)文件.scss )。 查看有关此软件包背后的原理和灵感的信息。 例如,给出以下SCSS: @import " variables " ; .text { color : $blue ; & -highlighted { color : $yellow ; } } 将生成以下类型定义: export const text : string ; export const textHighlighted : string ; 基本用法 安装并作为dev
下载地址
用户评论