Skip to content

js.exports.createNamed fails if the AST contains an exported function declaration (sv-utils) #1083

@x0k

Description

@x0k

When calling js.exports.createNamed with an AST that contains an exported function declaration, an error occurs: TypeError: Cannot read properties of undefined (reading '0')

StackBlitz

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