From 875f969ef84f99a704eac320c8b8213a68211a17 Mon Sep 17 00:00:00 2001 From: Mikhail Shustov Date: Wed, 20 Oct 2021 09:00:30 +0200 Subject: [PATCH] enable type check for d.ts files (#1569) --- src/client.ts | 2 +- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client.ts b/src/client.ts index a22843c9e..42e78dbc7 100644 --- a/src/client.ts +++ b/src/client.ts @@ -63,7 +63,7 @@ if (transportVersion.includes('-')) { } const nodeVersion = process.versions.node -interface NodeOptions { +export interface NodeOptions { url: URL id?: string agent?: HttpAgentOptions | UndiciAgentOptions diff --git a/tsconfig.json b/tsconfig.json index 26f91feff..e93828bd8 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -15,7 +15,7 @@ "noFallthroughCasesInSwitch": true, "useDefineForClassFields": true, "forceConsistentCasingInFileNames": true, - "skipLibCheck": true, + "skipLibCheck": false, "esModuleInterop": true, "isolatedModules": true, "importHelpers": true,