Reworded and added missing parameter descriptions
Signed-off-by: Harry Hogg <hhogg@spotify.com>
This commit is contained in:
@@ -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]>;
|
||||
}>;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user