Currently, using the syntax below will throw an error:
Screenshot

export async function funcName(){
await someAsyncFunc()
}
After refactoring to the syntax below everything will work as expected:
export const funcName = async() => {
await someAsyncFunc()
}
Expected output:
Non-arrow async functions work too
Currently, using the syntax below will throw an error:
Screenshot
After refactoring to the syntax below everything will work as expected:
Expected output:
Non-arrow async functions work too