blob: 41d59b72d01e78c616ed06e34eae1ef7e677f6f6 (
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.js';
|