Type Alias WithOrigin<Api>

WithOrigin<Api>: {
    [k in keyof Api]: ((p: Parameters<Api[k]>[0], origin: string) => ReturnType<Api[k]>)
}

Type Parameters