Open cornellouis opened 1 month ago
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.
Stop removing the name.
This should be fixed to
const fetchFoo = (signal: AbortSignal): Promise => { … }; export default fetchFoo;
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