( schema: S )
| 667 | * @since 4.0.6 |
| 668 | */ |
| 669 | export const decodeSchemaString = <S extends Schema.Constraint>( |
| 670 | schema: S |
| 671 | ) => |
| 672 | <IE = never, Done = unknown>(options?: DecodeOptions): Channel.Channel< |
| 673 | Arr.NonEmptyReadonlyArray<S["Type"]>, |
| 674 | Schema.SchemaError | JsonArrayError | IE, |
| 675 | Done, |
| 676 | Arr.NonEmptyReadonlyArray<string>, |
| 677 | IE, |
| 678 | Done, |
| 679 | S["DecodingServices"] |
| 680 | > => Channel.pipeTo(decodeString(options), ChannelSchema.decodeUnknown(schema)()) |
| 681 | |
| 682 | /** |
| 683 | * Creates a channel that parses UTF-8 bytes of one JSON document and decodes |
nothing calls this directly
no test coverage detected