skipLibCheck added

This commit is contained in:
hardiknai-techm
2021-05-27 10:41:24 +05:30
parent a20620db0e
commit dbfa7e37ed
2 changed files with 3 additions and 10 deletions

8
src/global.d.ts vendored
View File

@@ -1,14 +1,6 @@
import { PageWaitForSelectorOptions, PlaywrightMatchers } from "expect-playwright";
import Explorer from "./Explorer/Explorer";
declare global {
namespace jest {
interface Matchers<R> extends PlaywrightMatchers<R> {
toHaveFocus(selector: string, options?: PageWaitForSelectorOptions): Promise<R>;
toHaveTextContent(htmlElement: string): object;
toHaveValue(value: string | string[] | number): object;
}
}
interface Window {
/**
* @deprecated

View File

@@ -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__/**/*"]
}