( from: AST, to: A, transformation: SchemaTransformation.Transformation<any, any, any, any> )
| 3577 | * @since 4.0.0 |
| 3578 | */ |
| 3579 | export function decodeTo<A extends AST>( |
| 3580 | from: AST, |
| 3581 | to: A, |
| 3582 | transformation: SchemaTransformation.Transformation<any, any, any, any> |
| 3583 | ): A { |
| 3584 | return appendTransformation(from, transformation, to) |
| 3585 | } |
| 3586 | |
| 3587 | function parseParameter(ast: AST): { |
| 3588 | literals: ReadonlyArray<PropertyKey> |
no test coverage detected