0.2.3 support no default export
parent
6208a7f20a
commit
0c648f57d8
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@uci-utils/type",
|
||||
"version": "0.2.1",
|
||||
"version": "0.2.3",
|
||||
"description": "A variable type check utility - extentsion of TypeChecker package",
|
||||
"main": "src/type.js",
|
||||
"scripts": {
|
||||
|
@ -28,12 +28,12 @@
|
|||
},
|
||||
"homepage": "https://github.com/uCOMmandIt/uci-utils#readme",
|
||||
"dependencies": {
|
||||
"typechecker": "^4.7.0"
|
||||
"typechecker": "^5.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"chai": "^4.2.0",
|
||||
"esm": "^3.2.25",
|
||||
"mocha": "^6.2.0",
|
||||
"nodemon": "^1.19.1"
|
||||
"mocha": "^6.2.2",
|
||||
"nodemon": "^1.19.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import typechecker from 'typechecker'
|
||||
import * as typechecker from 'typechecker'
|
||||
|
||||
const customTypeChecker = Object.assign({}, typechecker) // typechecker is frozen
|
||||
|
||||
|
|
Loading…
Reference in New Issue