aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/date-fns/_lib/requiredArgs/index.js
blob: 49f0b17aba70d33ec43d7dcb7a5131b217511cf5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = requiredArgs;
function requiredArgs(required, args) {
  if (args.length < required) {
    throw new TypeError(required + ' argument' + (required > 1 ? 's' : '') + ' required, but only ' + args.length + ' present');
  }
}
module.exports = exports.default;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage