Skip to content

Fix support for named function exports #12

Description

@transitive-bullshit

index.ts

export const helloWorld = (name = 'World') => {
  return `Hello ${name}!`
}

This example currently fails parsing with Unable to infer a main function export, but this use case should work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions