What is the difference between these two generic declarations?

Viewed 37

I don't know what exactly the deference .

type CallbackBaseAsyncFuntion = <T>(callback: (response: ApiResponse<T>) => void) => void;

type CallbackBaseAsyncFuntion<T> = (callback: (response: ApiResponse<T>) => void) => void;
0 Answers
Related