From dbfa7e37ede301d6a3e03915ccdf7191b26c126f Mon Sep 17 00:00:00 2001 From: hardiknai-techm Date: Thu, 27 May 2021 10:41:24 +0530 Subject: [PATCH] skipLibCheck added --- src/global.d.ts | 8 -------- tsconfig.json | 5 +++-- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/global.d.ts b/src/global.d.ts index 1663e45eb..301c9209b 100644 --- a/src/global.d.ts +++ b/src/global.d.ts @@ -1,14 +1,6 @@ -import { PageWaitForSelectorOptions, PlaywrightMatchers } from "expect-playwright"; import Explorer from "./Explorer/Explorer"; declare global { - namespace jest { - interface Matchers extends PlaywrightMatchers { - toHaveFocus(selector: string, options?: PageWaitForSelectorOptions): Promise; - toHaveTextContent(htmlElement: string): object; - toHaveValue(value: string | string[] | number): object; - } - } interface Window { /** * @deprecated diff --git a/tsconfig.json b/tsconfig.json index 044162a7b..7f98892ea 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -21,7 +21,8 @@ "resolveJsonModule": true, "noEmit": true, "types": ["jest", "playwright", "jest-playwright-preset", "expect-playwright"], - "baseUrl": "src" + "baseUrl": "src", + "skipLibCheck": true }, "typedocOptions": { "entryPoints": [ @@ -43,7 +44,7 @@ "./test/testExplorer/TestExplorer.ts", "./**/*.ts", "./**/*.tsx", - "src/custom.d.ts" + "./src/*.d.ts" ], "exclude": ["./src/**/__mocks__/**/*"] }