UNPKG

346 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3exports.verifyConfig = void 0;
4const errors_1 = require("./errors");
5function verifyConfig(options) {
6 if (!options.target && !options.router) {
7 throw new Error(errors_1.ERRORS.ERR_CONFIG_FACTORY_TARGET_MISSING);
8 }
9}
10exports.verifyConfig = verifyConfig;