( schema: S, options?: SchemaAST.ParseOptions )
| 304 | * @since 3.10.0 |
| 305 | */ |
| 306 | export function decodeUnknownPromise<S extends Schema.ConstraintDecoder<unknown>>( |
| 307 | schema: S, |
| 308 | options?: SchemaAST.ParseOptions |
| 309 | ): (input: unknown, options?: SchemaAST.ParseOptions) => Promise<S["Type"]> { |
| 310 | return asPromise(decodeUnknownEffect(schema, options)) |
| 311 | } |
| 312 | |
| 313 | /** |
| 314 | * Creates a Promise-based decoder for input already typed as the schema's |
nothing calls this directly
no test coverage detected