File size: 673 Bytes
1477a90
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Type-checks tests/ (the build tsconfig only includes src/, so without this
// the spec files are never type-checked — vitest strips types without checking
// them). Used by the `typecheck` script; never emits.
{
  "extends": "./tsconfig.json",
  "compilerOptions": {
    "noEmit": true,
    "declaration": false,
    "declarationMap": false,
    "sourceMap": false,
    // @fetch-mock/vitest's own d.ts imports the undeclared jest 'expect'
    // package; skip dependency declaration files (our .ts sources are still
    // fully checked, and src/ is separately checked without this flag).
    "skipLibCheck": true
  },
  "include": ["src/**/*.ts", "tests/**/*.ts"]
}