import { Action } from "./Action" ; import { TypedAction } from "./TypedAction" ; import { TypedActionString } from "./TypedActionString" ; export function isType < T > ( action , type ) { return action . type === type ; }