12 lines
298 B
TypeScript
12 lines
298 B
TypeScript
|
export type TRequestModifier = <T>(responseArg: {
|
||
|
headers: { [header: string]: string | string[] | undefined };
|
||
|
path: string;
|
||
|
body: string;
|
||
|
travelData?: T;
|
||
|
}) => Promise<{
|
||
|
headers: { [header: string]: string | string[] | undefined };
|
||
|
path: string;
|
||
|
body: string;
|
||
|
travelData?: T;
|
||
|
}>;
|