0

Hi I'm new typescript and learning it. I have basic knowledge about typescript generics. could someone explain me what is use of '=' operator here.


export interface IAdapter<T, R = T> {
  adaptToModel(resp: any): T;
  adaptFromModel(data: Partial<R>): any;
}

Kharola
  • 11
  • 3

0 Answers0