diff --git a/package.json b/package.json index 8c35659..dc61dae 100644 --- a/package.json +++ b/package.json @@ -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" } } diff --git a/src/type.js b/src/type.js index 795f171..3429592 100644 --- a/src/type.js +++ b/src/type.js @@ -1,4 +1,4 @@ -import typechecker from 'typechecker' +import * as typechecker from 'typechecker' const customTypeChecker = Object.assign({}, typechecker) // typechecker is frozen