mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
feat: upgrade zod to v4 (#11258)
* feat: upgrade zod to v4 * fix: requested changes --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -12,7 +12,7 @@ import { z } from 'zod';
|
||||
* Defines the schema for a command
|
||||
*/
|
||||
export const schema = z.object({
|
||||
data: z.record(z.any()),
|
||||
data: z.record(z.string(), z.any()),
|
||||
execute: z.function(),
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user