blob: 0fa1c8db4d38060fd0b681ae7d19a4bec679a9ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import { HttpMethod } from '@emprespresso/pengueno';
export interface BaseRequest {
url: string;
method: HttpMethod;
header(): Record<string, string>;
formData(): Promise<FormData>;
json(): Promise<unknown>;
text(): Promise<string>;
param(key: string): string | undefined;
query(): Record<string, string>;
queries(): Record<string, string[]>;
}
export * from './pengueno';
|