Skip to content

Commit 5d47dae

Browse files
committed
Minor: jsdoc.
1 parent b4e5cd3 commit 5d47dae

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

express-zod-api/src/method.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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
* */
2728
export 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
* */
3335
export 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
* */
4043
export type CORSMethod = ClientMethod | Extract<FamiliarMethod, "options">;
4144

0 commit comments

Comments
 (0)