I recently saw this syntax here
export interface ActionReducer<T, V extends Action = Action> {
(state: T | undefined, action: V): T;
}
I am confused about the syntax <T,V extends Action = Action>
I could not find documentation for this syntax in typescript . Can anyone point me there . It looks like a new syntax as my build is not able to recognize it and gives me this error :
node_modules/@ngrx/store/src/models.d.ts:6:52: ',' expected.