main repo

This commit is contained in:
Basilosaurusrex
2025-11-24 18:09:40 +01:00
parent b636ee5e70
commit f027651f9b
34146 changed files with 4436636 additions and 0 deletions

18
node_modules/next/dist/server/web/http.d.ts generated vendored Normal file
View File

@@ -0,0 +1,18 @@
/**
* List of valid HTTP methods that can be implemented by Next.js's Custom App
* Routes.
*/
export declare const HTTP_METHODS: readonly ["GET", "HEAD", "OPTIONS", "POST", "PUT", "DELETE", "PATCH"];
/**
* A type representing the valid HTTP methods that can be implemented by
* Next.js's Custom App Routes.
*/
export type HTTP_METHOD = (typeof HTTP_METHODS)[number];
/**
* Checks to see if the passed string is an HTTP method. Note that this is case
* sensitive.
*
* @param maybeMethod the string that may be an HTTP method
* @returns true if the string is an HTTP method
*/
export declare function isHTTPMethod(maybeMethod: string): maybeMethod is HTTP_METHOD;