UNPKG

redux-promise-middleware-es3

Version:

Redux middleware for handling promises and optimistic updates with ES3 support

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;