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