Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export default function $name() {} doesn't match correctly #82

Closed
SimeonC opened this issue Mar 27, 2024 · 1 comment · Fixed by #94
Closed

export default function $name() {} doesn't match correctly #82

SimeonC opened this issue Mar 27, 2024 · 1 comment · Fixed by #94
Assignees

Comments

@SimeonC
Copy link

SimeonC commented Mar 27, 2024

See playground here: https://app.grit.io/studio?key=SagGy0msuq3fQLmcDXA8z

CleanShot 2024-03-27 at 13 35 24

As you can see trying to match a non-anonymous default export function is currently matching the same as export function.

@morgante
Copy link
Contributor

Thanks for the report. We probably need to adjust the field for default.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants