Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MethodFetch<T, U>

Type parameters

Hierarchy

  • MethodFetch

Callable

  • __call(...args: [{}] extends MethodFetchArgs<T> ? Partial<MethodFetchArgs<T>> : MethodFetchArgs<T>): Promise<Required<(U["contentType"] extends SupportedContentType | undefined ? U : Omit<U, "body"> & { body: U["body"] | undefined }) | ResponseData<{ body: undefined; status: 500 }> & { res: Response }>>
  • Parameters

    • Rest ...args: [{}] extends MethodFetchArgs<T> ? Partial<MethodFetchArgs<T>> : MethodFetchArgs<T>

    Returns Promise<Required<(U["contentType"] extends SupportedContentType | undefined ? U : Omit<U, "body"> & { body: U["body"] | undefined }) | ResponseData<{ body: undefined; status: 500 }> & { res: Response }>>

Generated using TypeDoc