Reworded and added missing parameter descriptions

Signed-off-by: Harry Hogg <hhogg@spotify.com>
This commit is contained in:
Harry Hogg
2022-10-04 09:34:16 +01:00
parent 42fa9cdcdb
commit 445c5f41a5
7 changed files with 17 additions and 9 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ export type PermissionRule<
// with an optional zod type.
[P in keyof TParams]-?: TParams[P] extends undefined
? z.ZodOptionalType<z.ZodType<TParams[P]>>
: z.ZodType<TParams[P], any, any>;
: z.ZodType<TParams[P]>;
}>;
/**