(value: string)
| 17 | |
| 18 | test("instanceof", () => { |
| 19 | const fn = (value: string) => Uint8Array.from(Buffer.from(value, "base64")); |
| 20 | |
| 21 | // Argument of type 'ZodCustom<Uint8Array<ArrayBuffer>, unknown>' is not assignable to parameter of type '$ZodType<any, Uint8Array<ArrayBuffer>>'. |
| 22 | z.string().transform(fn).pipe(z.instanceof(Uint8Array)); |
no outgoing calls
no test coverage detected