( cases: ReadonlyArray<Case> )
| 42 | } |
| 43 | |
| 44 | function makeTypeMatcher<I, R, RA, A>( |
| 45 | cases: ReadonlyArray<Case> |
| 46 | ): TypeMatcher<I, R, RA, A> { |
| 47 | const matcher = Object.create(TypeMatcherProto) |
| 48 | matcher.cases = cases |
| 49 | return matcher |
| 50 | } |
| 51 | |
| 52 | const ValueMatcherProto: Omit< |
| 53 | ValueMatcher<any, any, any, any, any>, |
no test coverage detected