( kind: kind, implementation: RootIntersection<kind, schemaKindRightOf<kind>> )
| 34 | } |
| 35 | |
| 36 | export const defineRightwardIntersections = <kind extends RootKind>( |
| 37 | kind: kind, |
| 38 | implementation: RootIntersection<kind, schemaKindRightOf<kind>> |
| 39 | ): { [k in schemaKindRightOf<kind>]: RootIntersection<kind, k> } => |
| 40 | flatMorph(schemaKindsRightOf(kind), (i, kind) => [ |
| 41 | kind, |
| 42 | implementation |
| 43 | ]) as never |
no test coverage detected