(action: Action, type: any)
| 179 | */ |
| 180 | function typeGuards() { |
| 181 | function isAction<A extends Action>(action: Action, type: any): action is A { |
| 182 | return action.type === type |
| 183 | } |
| 184 | |
| 185 | type State = number |
| 186 |
no outgoing calls
no test coverage detected