the-forest/client/node_modules/workbox-routing/utils/constants.d.ts
2024-09-17 20:35:18 -04:00

20 lines
476 B
TypeScript

import '../_version.js';
export type HTTPMethod = 'DELETE' | 'GET' | 'HEAD' | 'PATCH' | 'POST' | 'PUT';
/**
* The default HTTP method, 'GET', used when there's no specific method
* configured for a route.
*
* @type {string}
*
* @private
*/
export declare const defaultMethod: HTTPMethod;
/**
* The list of valid HTTP methods associated with requests that could be routed.
*
* @type {Array<string>}
*
* @private
*/
export declare const validMethods: HTTPMethod[];