Skip to content

TypeError: Cannot read property 'properties' of undefined #301

@SimplyY

Description

@SimplyY

let initializer = (defaultProps as ts.PropertyDeclaration).initializer;

@pvasek

and I add code before upper line

if (!initializer) {
                    console.log(symbol, source);
                    return res;
                }

bug fixed~

do you need PR?

If not , I only can fork this repo and publish anthor npm package for fix this

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