( schema: S, options?: SchemaAST.ParseOptions )
| 690 | * @since 3.10.0 |
| 691 | */ |
| 692 | export const encodeUnknownPromise = <S extends Schema.ConstraintEncoder<unknown>>( |
| 693 | schema: S, |
| 694 | options?: SchemaAST.ParseOptions |
| 695 | ): (input: unknown, options?: SchemaAST.ParseOptions) => Promise<S["Encoded"]> => |
| 696 | asPromise(encodeUnknownEffect(schema, options)) |
| 697 | |
| 698 | /** |
| 699 | * Creates a Promise-based encoder for input already typed as the schema's decoded |
nothing calls this directly
no test coverage detected