From 7e6e43f3c63a4782a9748faf600574f7c4277643 Mon Sep 17 00:00:00 2001 From: Phil Pluckthun Date: Mon, 1 Jun 2020 16:16:52 +0100 Subject: [PATCH] Fix TypeScript checks --- package.json | 2 +- tsconfig.json | 4 ++++ yarn.lock | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index fdccf2e..b7fc810 100644 --- a/package.json +++ b/package.json @@ -102,7 +102,7 @@ "rollup-plugin-terser": "^6.1.0", "rollup-plugin-typescript2": "^0.27.1", "ts-jest": "^26.1.0", - "typescript": "^3.9.3", + "typescript": "^3.9.2", "zen-observable": "^0.8.15" }, "lint-staged": { diff --git a/tsconfig.json b/tsconfig.json index fbc156e..d17242a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,6 +7,10 @@ "rootDir": "./src", "baseUrl": ".", "outDir": "dist/cjs", + "types": [ + "@types/node", + "@types/jest" + ], "lib": ["dom", "esnext"], "jsx": "react", "declaration": false, diff --git a/yarn.lock b/yarn.lock index 2e98d62..2a99c19 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16911,7 +16911,7 @@ typescript-compiler@^1.4.1-2: resolved "https://registry.yarnpkg.com/typescript-compiler/-/typescript-compiler-1.4.1-2.tgz#ba4f7db22d91534a1929d90009dce161eb72fd3f" integrity sha1-uk99si2RU0oZKdkACdzhYety/T8= -typescript@^3.4, typescript@^3.9.2, typescript@^3.9.3: +typescript@^3.4, typescript@^3.9.2: version "3.9.3" resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.9.3.tgz#d3ac8883a97c26139e42df5e93eeece33d610b8a" integrity sha512-D/wqnB2xzNFIcoBG9FG8cXRDjiqSTbG2wd8DMZeQyJlP1vfTkIxH4GKveWaEBYySKIg+USu+E+EDIR47SqnaMQ==