( cases: ReadonlyArray<Case> )
| 30 | } |
| 31 | |
| 32 | function makeTypeMatcher<I, R, RA, A>( |
| 33 | cases: ReadonlyArray<Case> |
| 34 | ): TypeMatcher<I, R, RA, A> { |
| 35 | const matcher = Object.create(TypeMatcherProto) |
| 36 | matcher.cases = cases |
| 37 | return matcher |
| 38 | } |
| 39 | |
| 40 | const ValueMatcherProto: Omit< |
| 41 | ValueMatcher<any, any, any, any, any>, |
no outgoing calls
no test coverage detected