Here is an example I have in JavaScript:
export function* mySaga () {
yield takeEvery('USER_FETCH_REQUESTED', fetchUser);
}
I'm wondering if it's possible to rewrite it as an arrow function in TypeScript, like the snippet below:
export const mySaga* = () {
yield takeEvery('USER_FETCH_REQUESTED', fetchUser);
}