( schema: S, options?: SchemaAST.ParseOptions )
| 757 | * @since 4.0.0 |
| 758 | */ |
| 759 | export function encodeUnknownExit<S extends Schema.ConstraintEncoder<unknown>>( |
| 760 | schema: S, |
| 761 | options?: SchemaAST.ParseOptions |
| 762 | ): (input: unknown, options?: SchemaAST.ParseOptions) => Exit.Exit<S["Encoded"], SchemaIssue.Issue> { |
| 763 | return asExit(encodeUnknownEffect(schema, options)) |
| 764 | } |
| 765 | |
| 766 | /** |
| 767 | * Creates a synchronous encoder for input already typed as the schema's decoded |
nothing calls this directly
no test coverage detected