chirp
chirp copied to clipboard
🐛 [BUG] z.string().emoji() does not throw an error when a number is passed instead of emojis
z.string().emoji() does not throw an error when a number is passed instead of emojis
Description
When using the z.string().emoji()
method, it is expected to throw an error if a non-emoji string is passed as an argument. However, it appears that the method does not throw an error when a number is passed instead of emojis.
Would be worth raising this with zod, I mentioned it to @joseph-lozano not sure how much can be done though
fixed it 🐛 temporarily #4