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.
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.