From a649830fdb00180c2b24a9cee7a8e69c8aea3b99 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 22 Feb 2020 14:36:01 -0500 Subject: [PATCH] Upgrade Typescript and compiler targets. --- package-lock.json | 6 +++--- package.json | 5 +++-- tsconfig.json | 7 +++++-- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index f2d57e7..fe1e4f0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4255,9 +4255,9 @@ } }, "typescript": { - "version": "3.7.5", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.5.tgz", - "integrity": "sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==" + "version": "3.8.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.8.2.tgz", + "integrity": "sha512-EgOVgL/4xfVrCMbhYKUQTdF37SQn4Iw73H5BgCrF1Abdun7Kwy/QZsE/ssAy0y4LxBbvua3PIbFsbRczWWnDdQ==" }, "union-value": { "version": "1.0.1", diff --git a/package.json b/package.json index 03e82ec..6fe5c77 100644 --- a/package.json +++ b/package.json @@ -4,12 +4,13 @@ "description": "A library for modeling individual US tax returns.", "main": "src/index.js", "scripts": { - "test": "jest" + "test": "jest", + "check": "tsc --noEmit" }, "author": "Robert Sesek", "license": "ISC", "dependencies": { - "typescript": "^3.7.5" + "typescript": "^3.8.2" }, "devDependencies": { "@types/jest": "^25.1.2", diff --git a/tsconfig.json b/tsconfig.json index 31cbd65..7a77bf5 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,10 @@ { "compilerOptions": { "lib": [ - "es7" - ] + "es2018" + ], + "target": "es2019", + "moduleResolution": "node", + "esModuleInterop": true } } -- 2.43.5