(
from: AST,
transformation:
| SchemaTransformation.Transformation<any, any, any, any>
| SchemaTransformation.Middleware<any, any, any, any, any, any>,
to: A
)
| 3463 | } |
| 3464 | |
| 3465 | function appendTransformation<A extends AST>( |
| 3466 | from: AST, |
| 3467 | transformation: |
| 3468 | | SchemaTransformation.Transformation<any, any, any, any> |
| 3469 | | SchemaTransformation.Middleware<any, any, any, any, any, any>, |
| 3470 | to: A |
| 3471 | ): A { |
| 3472 | const link = new Link(from, transformation) |
| 3473 | return replaceEncoding(to, to.encoding ? [...to.encoding, link] : [link]) |
| 3474 | } |
| 3475 | |
| 3476 | /** @internal */ |
| 3477 | export function brand(ast: AST, brand: string): AST { |
no test coverage detected