Skip to content

Commit a4c1672

Browse files
Move to using passthrough for unknowns
1 parent 8bce94e commit a4c1672

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/m365/entra/commands/app/app-add.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const options = globalOptionsZod
3939
grantAdminConsent: z.boolean().optional(),
4040
allowPublicClientFlows: z.boolean().optional()
4141
})
42-
.and(z.unknown());
42+
.passthrough();
4343

4444
declare type Options = z.infer<typeof options> & AppCreationOptions;
4545

src/m365/entra/commands/app/app-set.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const options = globalOptionsZod
2828
certificateDisplayName: z.string().optional(),
2929
allowPublicClientFlows: z.boolean().optional()
3030
})
31-
.and(z.unknown());
31+
.passthrough();
3232

3333
declare type Options = z.infer<typeof options>;
3434

0 commit comments

Comments
 (0)