Compare commits

..

No commits in common. "93fe5b3f7fef0f02f829e1dc5cbef480f1b76b84" and "d2456c2844ee80ab94370cbc2001d7bc3480e5a8" have entirely different histories.

2 changed files with 15 additions and 12 deletions

View File

@ -12,9 +12,5 @@
"devDependencies": {
"jest": "^26.0.1",
"standard": "^12.0.1"
},
"repository": {
"type": "git",
"url": "https://git.trj.tw/nodejs/validator.git"
}
}

View File

@ -1,8 +1,15 @@
const types = {}
module.exports = types
types.Base = require('./base.js')
types.StringType = require('./string.js')
types.NumberType = require('./number.js')
types.BooleanType = require('./boolean.js')
types.ObjectType = require('./object.js')
types.ArrayType = require('./array.js')
const Base = require('./base.js')
const StringType = require('./string.js')
const NumberType = require('./number.js')
const BooleanType = require('./boolean.js')
const ObjectType = require('./object.js')
const ArrayType = require('./array.js')
module.exports = {
Base,
StringType,
NumberType,
BooleanType,
ObjectType,
ArrayType
}