Skip to content

Commit 0b46730

Browse files
committed
build: disable libcheck for Typescript
ESlint plugins use various types - sadly - so they conflict sometimes and break type checking. Instead when disabling this, Typescript only checks what *we* are using not the internal types of libraries. Signed-off-by: Ferdinand Thiessen <[email protected]>
1 parent 1901d5e commit 0b46730

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://json.schemastore.org/tsconfig",
2+
"$schema": "https://www.schemastore.org/tsconfig.json",
33
"compilerOptions": {
44
"declaration": true,
55
"esModuleInterop": true,
@@ -11,7 +11,8 @@
1111
"target": "ES2022",
1212
"lib": ["ES2022"],
1313
"outDir": "./dist",
14-
"rootDir": "lib/"
14+
"rootDir": "lib/",
15+
"skipLibCheck": true
1516
},
1617
"include": [
1718
"lib"

0 commit comments

Comments
 (0)