Upgrade Typescript and compiler targets.
authorRobert Sesek <rsesek@bluestatic.org>
Sat, 22 Feb 2020 19:36:01 +0000 (14:36 -0500)
committerRobert Sesek <rsesek@bluestatic.org>
Sat, 22 Feb 2020 19:36:01 +0000 (14:36 -0500)
package-lock.json
package.json
tsconfig.json

index f2d57e728b8aea8142869d72a6ec759813bc9c47..fe1e4f0498a77ffe168b7071ffc5a79c425fbb51 100644 (file)
       }
     },
     "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",
index 03e82ec5922e948b9454d4c918113b6c2534e89e..6fe5c77136983ad98afc5e7331c57c9062f77d67 100644 (file)
@@ -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",
index 31cbd65cba6fcc56319a44de260125755c3f48a2..7a77bf538339b90bd8e43453e1d1d5d908e5203f 100644 (file)
@@ -1,7 +1,10 @@
 {
   "compilerOptions": {
     "lib": [
-      "es7"
-    ]
+      "es2018"
+    ],
+    "target": "es2019",
+    "moduleResolution": "node",
+    "esModuleInterop": true
   }
 }