(schema: S)
| 15796 | } |
| 15797 | ) { |
| 15798 | return (schema: S): overrideToCodecIso<S, Iso> => { |
| 15799 | return make( |
| 15800 | SchemaAST.annotate(schema.ast, { |
| 15801 | toCodecIso: () => new SchemaAST.Link(to.ast, SchemaTransformation.make(transformation)) |
| 15802 | }), |
| 15803 | { schema } |
| 15804 | ) |
| 15805 | } |
| 15806 | } |
| 15807 | |
| 15808 | // ----------------------------------------------------------------------------- |