Services types

export interface Services {
  main: Acts;
  [key: string]: Acts | string | undefined;
}

service inteface is include main service and functions and also maybe include other services

main services is type of Acts , other services maybe type of string or Act:
if type of string we get answer of req with http Request , but if type of it equal to Acts with answer to req directly

Types

  
    Acts