Skip to content

How to use getDisplayName with ttypescript compiler #310

@mcroba

Description

@mcroba

Hi,

How can I configure my tsconfig.json to define the getDisplayName function in order to compile with ttypescript?

{
    "compilerOptions": {
        "plugins": [
            {
                "transform": "typescript-plugin-styled-components",
                "type": "config",

                // other typescript-plugin-styled-components options can be added here
                "getDisplayName": ???
                "minify": true,
                "ssr": true
            }
        ]
    }
}

Thank you in advance for your help

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