79110762

Date: 2024-10-21 15:44:13
Score: 2
Natty:
Report link

In recent zod, You can get them by keyof().options.

const keys = schema.keyof().options

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: Kazuya Gosho