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

Fix removes the function name #35

Open
cornellouis opened this issue May 3, 2024 · 1 comment
Open

Fix removes the function name #35

cornellouis opened this issue May 3, 2024 · 1 comment

Comments

@cornellouis
Copy link

cornellouis commented May 3, 2024

Description

Before Fix:
export default async function fetchFoo(

After Fix:
export default async (signal: AbortSignal): Promise => {

This is horrible because that function is called in the code, so it breaks the code.

Suggested Solution

Stop removing the name.

Help Needed

@andersk
Copy link

andersk commented Jun 7, 2024

This should be fixed to

const fetchFoo = (signal: AbortSignal): Promise => {
   
};
export default fetchFoo;

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

No branches or pull requests

2 participants