summaryrefslogtreecommitdiff
path: root/build-es/constant.js
blob: 492d11bbd598921d222cb0cabf8d65b5d232768f (plain)
1
2
3
4
5
6
7
8
9
10
'use strict';

import rest from 'lodash-es/rest';

export default rest(function(values) {
    var args = [null].concat(values);
    return function (cb) {
        return cb.apply(this, args);
    };
});