3 ms·
In something like Java this could have been solved with method overloading, e.g: ActionWithPayloadAndError createAction(String, Payload, Error) If I understan
by brap 4y ago
In something like Java this could have been solved with method overloading, e.g:
ActionWithPayloadAndError createAction(String, Payload, Error)
If I understand correctly, overloading doesn’t exist in TS.