mirror of
https://github.com/strapi/strapi.git
synced 2025-07-08 01:22:29 +00:00
13 lines
211 B
JavaScript
13 lines
211 B
JavaScript
![]() |
'use strict';
|
||
|
|
||
|
module.exports = {
|
||
|
default: {
|
||
|
testConf: 1,
|
||
|
},
|
||
|
validator: config => {
|
||
|
if (typeof config.testConf !== 'number') {
|
||
|
throw new Error('testConfig has to be a number');
|
||
|
}
|
||
|
},
|
||
|
};
|