UNPKG

redux-promise-thunk

Version:

Thunk generator to dispatch Flux-Standard-Action in each phase of promise

12 lines (9 loc) 271 B
'use strict'; import warning from 'warning'; function deprecate(fn, message) { return function () { process.env.NODE_ENV !== 'production' ? warning(false, '[history] ' + message) : undefined; return fn.apply(this, arguments); }; } export default deprecate;