redux-action-type-validator Type validator for redux actions Installation npm i --save redux-action-type-validator Usage import {list, String} from "tcomb"; const typeofAction = actionTypeValidator(list(String)); export function action (payload) { typeofSelectSite(...arguments); return { type: "ACTION_TYPE", payload };} // Somewhere in your codeaction(["some", "string", "here"]); // not throw action("some"); // throw