Skip to content

Commit cb152a0

Browse files
committed
Speed up tsc checks
1 parent 39bd0a9 commit cb152a0

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ documentation/slimerjs-*/**
1111
documentation/api/**
1212
documentation/download/*.zip
1313
benchmark/suite/cytoscape.js
14+
*.tsbuildinfo
1415

1516
# Playwright
1617
/test-results/

tsconfig.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
"checkJs": false,
1313
"skipLibCheck": true,
1414
"noEmit": true,
15+
"incremental": true,
16+
"tsBuildInfoFile": "tsconfig.tsbuildinfo",
1517
"types": []
1618
},
1719
"include": ["src/**/*"]

tsconfig.types-test.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"noEmit": true,
99
"noUnusedLocals": true,
1010
"skipLibCheck": false,
11+
"incremental": true,
12+
"tsBuildInfoFile": "tsconfig.types-test.tsbuildinfo",
1113
"types": []
1214
},
1315
"include": ["typescript/tests/**/*.ts"]

0 commit comments

Comments
 (0)