( schema: S, options?: SchemaAST.ParseOptions )
| 330 | * @since 3.10.0 |
| 331 | */ |
| 332 | export function decodeUnknownPromise<S extends Schema.ConstraintDecoder<unknown>>( |
| 333 | schema: S, |
| 334 | options?: SchemaAST.ParseOptions |
| 335 | ): (input: unknown, options?: SchemaAST.ParseOptions) => Promise<S["Type"]> { |
| 336 | return asPromise(decodeUnknownEffect(schema, options)) |
| 337 | } |
| 338 | |
| 339 | /** |
| 340 | * Creates a Promise-based decoder for input already typed as the schema's |
nothing calls this directly
no test coverage detected