Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript CSS module macro typings #1

Open
Lutymane opened this issue Nov 17, 2022 · 1 comment
Open

Typescript CSS module macro typings #1

Lutymane opened this issue Nov 17, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Lutymane
Copy link
Member

Lutymane commented Nov 17, 2022

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

// @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

@Lutymane Lutymane self-assigned this Nov 17, 2022
@Lutymane Lutymane added the enhancement New feature or request label Nov 17, 2022
@Lutymane Lutymane added this to the 3.next milestone Nov 17, 2022
@Lutymane
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant