13 lines
211 B
JavaScript
Raw Normal View History

2021-09-01 18:38:40 +02:00
'use strict';
module.exports = {
default: {
testConf: 1,
},
validator: config => {
if (typeof config.testConf !== 'number') {
throw new Error('testConfig has to be a number');
}
},
};