Skip to content

Can I have only camelCased classnames in the generated types? #92

@maksnester

Description

@maksnester

Hi, thanks for this plugin. My question is whether it is possible to drop non-camelCased types from the generated files?

E.g. this CSS

.nav-breadcrumb {}

produces the following types

declare namespace HeaderModuleScssNamespace {
  export interface IHeaderModuleScss {
    'nav-breadcrumb': string;
    navBreadcrumb: string;
  }
}

So I now have a choice when use the class names whether I want to use camelCase or dashed-case name. I'd like to eliminate this choice and keep only the camelCased version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions