TS and JS Grammar Extension version: 0.0.46 / latest
Code
const x = {
success: (state, { payload }): IState =>
R.compose<typeof payload, IState, IState>(
R.merge<IState>(state),
R.reduce(
(acc, channel) =>
setChannel(channel.id)(
{
data: omitStoreEntities(channel),
status: Status.LOADED,
error: null,
},
acc
),
R.clone(initialState)
)
)(payload),
};

Changing arrow function to a function / method shorthand has broken syntax highlighting only on generic parameters. Happens only in built-in Monokai theme

Not sure whether the issue should be opened in vscode repo addressing this very theme.