* Returns a Decoding instance for this schema with helpers for decoding assertions. * * **When to use** * * Use to test how unknown input is decoded into the schema's type. * * **Details** * * Pass `parseOptions` to control error reporting, for example `{ errors: "all
(options?: {
readonly parseOptions?: SchemaAST.ParseOptions | undefined
})
| 362 | * @stability unstable |
| 363 | */ |
| 364 | decoding(options?: { |
| 365 | readonly parseOptions?: SchemaAST.ParseOptions | undefined |
| 366 | }) { |
| 367 | return new Decoding(this.schema, options) |
| 368 | } |
| 369 | /** |
| 370 | * Returns an {@link Encoding} instance for this schema with helpers for encoding assertions. |
| 371 | * |
no outgoing calls
no test coverage detected