@lesnoypudge/utils
Version:
lesnoypudge's utils
20 lines (19 loc) • 490 B
TypeScript
/**
* Methods commonly used in network requests.
*/
export declare namespace HTTP_METHODS {
const POST = "post";
type POST = typeof POST;
const GET = "get";
type GET = typeof GET;
const PUT = "put";
type PUT = typeof PUT;
const DELETE = "delete";
type DELETE = typeof DELETE;
const PATCH = "patch";
type PATCH = typeof PATCH;
const OPTIONS = "options";
type OPTIONS = typeof OPTIONS;
const HEAD = "head";
type HEAD = typeof HEAD;
}