Skip to content

completeIconSetName changes case of output #176

@skoblenick

Description

@skoblenick

Using "svg-to-ts": "8.6.1", running svg-to-ts-constants with the following setting in the ./svg-to-tsrc.js config:

completeIconSetName: 'MyIconSet'

results in:

export const myIconSet = [

being placed in the output file. The case has been modified! I expect the value I supply in the config to be what I get back in the file, it should NOT be modified; if I wanted camelCase I would have supplied camelcase.

The same is true of MYICONSET gets transformed to myiconset

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions