Open Lutymane opened 1 year ago
Make $cssModule macro typed corresponding to SFC's <style module> blocks.
$cssModule
<style module>
VS Code plugin or a task.
Use special wrapping comments to easily update types
// @css-modules-types-start /* ... */ // @css-modules-types-end
or actually make a Volar plugin https://github.com/johnsoncodehk/volar/blob/master/plugins/pug/src/index.ts
https://github.com/microsoft/TypeScript/wiki/Writing-a-Language-Service-Plugin
Make
$cssModule
macro typed corresponding to SFC's<style module>
blocks.VS Code plugin or a task.
Use special wrapping comments to easily update types
or actually make a Volar plugin https://github.com/johnsoncodehk/volar/blob/master/plugins/pug/src/index.ts