-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
type-acquisition.ts
44 lines (36 loc) · 947 Bytes
/
type-acquisition.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/**
* @file Interfaces - TypeAcquisition
* @module tsconfig-types/interfaces/TypeAcquisition
*/
import type { CompilerOptionsValue } from '#src/types'
/**
* Auto type-acquisition options.
*
* @see https://www.typescriptlang.org/tsconfig#typeAcquisition
*/
interface TypeAcquisition {
[option: string]: CompilerOptionsValue
/**
* Prevent TypeScript from inferring types based on filenames.
*/
disableFilenameBasedTypeAcquisition?: boolean
/**
* Enable or disable auto type-acquisition.
*/
enable?: boolean
/**
* Enable or disable auto type-acquisition.
*
* @deprecated Use {@linkcode enable} instead.
*/
enableAutoDiscovery?: boolean
/**
* Specifies type declarations to be excluded from auto type-acquisition.
*/
exclude?: string[]
/**
* Specifies type declarations to be included in auto type-acquisition.
*/
include?: string[]
}
export type { TypeAcquisition as default }