Skip to content

camelCase option is not working #52

Closed
@JounQin

Description

@JounQin

Describe the bug
As title, the generated definition is {}

To Reproduce
Steps to reproduce the behavior:

{
  "plugins": [
      {
        "name": "typescript-plugin-css-modules",
        "options": {
          "camelCase": "camelCase",
          "customMatcher": "\\.m\\.less$"
        }
      }
    ]
}

I've already have:

declare module '*.less' {
  const styles: Record<string, string>;
  export = styles;
}

and

// workspace `settings.json`
{
  "settings": {
    "typescript.tsdk": "node_modules/typescript/lib"
  }
}

Expected behavior
No error

Screenshots
If applicable, add screenshots to help explain your problem.
image

Desktop (please complete the following information):

  • OS: macOS Catalina

Metadata

Metadata

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions