( schema: S, options?: SchemaAST.ParseOptions )
| 654 | * @since 3.10.0 |
| 655 | */ |
| 656 | export const encodeUnknownPromise = <S extends Schema.ConstraintEncoder<unknown>>( |
| 657 | schema: S, |
| 658 | options?: SchemaAST.ParseOptions |
| 659 | ): (input: unknown, options?: SchemaAST.ParseOptions) => Promise<S["Encoded"]> => |
| 660 | asPromise(encodeUnknownEffect(schema, options)) |
| 661 | |
| 662 | /** |
| 663 | * Creates a Promise-based encoder for input already typed as the schema's decoded |
nothing calls this directly
no test coverage detected