File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,19 +23,22 @@ export const clientMethods = [
2323/**
2424 * @desc Methods supported by the framework API to produce Endpoints on EndpointsFactory.
2525 * @see BuildProps
26+ * @example "get" | "post" | "put" | "delete" | "patch"
2627 * */
2728export type Method = ( typeof methods ) [ number ] ;
2829
2930/**
3031 * @desc Methods usable on the client side, available via generated Integration and Documentation
3132 * @see withHead
33+ * @example Method | "head"
3234 * */
3335export type ClientMethod = ( typeof clientMethods ) [ number ] ;
3436
3537/**
3638 * @desc Methods supported in CORS headers
3739 * @see makeCorsHeaders
3840 * @see createWrongMethodHandler
41+ * @example ClientMethod | "options"
3942 * */
4043export type CORSMethod = ClientMethod | Extract < FamiliarMethod , "options" > ;
4144
You can’t perform that action at this time.
0 commit comments