0.2.3 support no default export

master
David Kebler 2019-11-21 10:40:24 -08:00
parent 6208a7f20a
commit 0c648f57d8
2 changed files with 5 additions and 5 deletions

View File

@ -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"
}
}

View File

@ -1,4 +1,4 @@
import typechecker from 'typechecker'
import * as typechecker from 'typechecker'
const customTypeChecker = Object.assign({}, typechecker) // typechecker is frozen