From 65cf1e53959679196dca3745c31a2c200c1b5a51 Mon Sep 17 00:00:00 2001 From: Matt Leon <108271225+wydengyre@users.noreply.github.com> Date: Fri, 26 Jan 2024 11:40:38 +0700 Subject: [PATCH] improve typecheck exclusions The declarations files are only necessary for checking test code. --- cf/tsconfig.json | 2 +- lib/tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cf/tsconfig.json b/cf/tsconfig.json index c8c17bb..2fb69c9 100644 --- a/cf/tsconfig.json +++ b/cf/tsconfig.json @@ -4,6 +4,6 @@ "compilerOptions": { "types": ["@cloudflare/workers-types"] }, - "include": ["*.ts", "../lib/declarations.d.ts"], + "include": ["*.ts"], "exclude": ["*.test.ts"] } diff --git a/lib/tsconfig.json b/lib/tsconfig.json index fd5c642..96cc119 100644 --- a/lib/tsconfig.json +++ b/lib/tsconfig.json @@ -13,5 +13,5 @@ "types": [] }, "include": ["*.ts"], - "exclude": ["*.test.ts"] + "exclude": ["*.test.ts", "declarations.d.ts"] }