@stryke/types 0.10.23 → 0.10.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/array.d.cts +122 -2
- package/dist/array.d.cts.map +1 -0
- package/dist/array.d.mts +122 -2
- package/dist/array.d.mts.map +1 -0
- package/dist/async.d.cts +111 -2
- package/dist/async.d.cts.map +1 -0
- package/dist/async.d.mts +111 -2
- package/dist/async.d.mts.map +1 -0
- package/dist/base.cjs +3 -1
- package/dist/base.d.cts +331 -2
- package/dist/base.d.cts.map +1 -0
- package/dist/base.d.mts +331 -2
- package/dist/base.d.mts.map +1 -0
- package/dist/base.mjs +3 -1
- package/dist/base.mjs.map +1 -0
- package/dist/configuration.d.cts +71 -2
- package/dist/configuration.d.cts.map +1 -0
- package/dist/configuration.d.mts +71 -2
- package/dist/configuration.d.mts.map +1 -0
- package/dist/file.d.cts +51 -2
- package/dist/file.d.cts.map +1 -0
- package/dist/file.d.mts +51 -2
- package/dist/file.d.mts.map +1 -0
- package/dist/form.d.cts +40 -2
- package/dist/form.d.cts.map +1 -0
- package/dist/form.d.mts +40 -2
- package/dist/form.d.mts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +19 -18
- package/dist/index.d.mts +19 -18
- package/dist/index.mjs +1 -1
- package/dist/json.d.cts +70 -2
- package/dist/json.d.cts.map +1 -0
- package/dist/json.d.mts +70 -2
- package/dist/json.d.mts.map +1 -0
- package/dist/logic.d.cts +124 -2
- package/dist/logic.d.cts.map +1 -0
- package/dist/logic.d.mts +124 -2
- package/dist/logic.d.mts.map +1 -0
- package/dist/messages.d.cts +21 -2
- package/dist/messages.d.cts.map +1 -0
- package/dist/messages.d.mts +21 -2
- package/dist/messages.d.mts.map +1 -0
- package/dist/navigator.d.cts +42 -2
- package/dist/navigator.d.cts.map +1 -0
- package/dist/navigator.d.mts +42 -2
- package/dist/navigator.d.mts.map +1 -0
- package/dist/number.d.cts +181 -2
- package/dist/number.d.cts.map +1 -0
- package/dist/number.d.mts +181 -2
- package/dist/number.d.mts.map +1 -0
- package/dist/object.d.cts +394 -2
- package/dist/object.d.cts.map +1 -0
- package/dist/object.d.mts +394 -2
- package/dist/object.d.mts.map +1 -0
- package/dist/package-json.d.cts +261 -2
- package/dist/package-json.d.cts.map +1 -0
- package/dist/package-json.d.mts +261 -2
- package/dist/package-json.d.mts.map +1 -0
- package/dist/package-manager.d.cts +6 -2
- package/dist/package-manager.d.cts.map +1 -0
- package/dist/package-manager.d.mts +6 -2
- package/dist/package-manager.d.mts.map +1 -0
- package/dist/string.d.cts +81 -2
- package/dist/string.d.cts.map +1 -0
- package/dist/string.d.mts +81 -2
- package/dist/string.d.mts.map +1 -0
- package/dist/system.d.cts +5 -2
- package/dist/system.d.cts.map +1 -0
- package/dist/system.d.mts +5 -2
- package/dist/system.d.mts.map +1 -0
- package/dist/tsconfig.d.cts +803 -2
- package/dist/tsconfig.d.cts.map +1 -0
- package/dist/tsconfig.d.mts +803 -2
- package/dist/tsconfig.d.mts.map +1 -0
- package/dist/user.d.cts +29 -2
- package/dist/user.d.cts.map +1 -0
- package/dist/user.d.mts +29 -2
- package/dist/user.d.mts.map +1 -0
- package/dist/utilities.d.cts +51 -2
- package/dist/utilities.d.cts.map +1 -0
- package/dist/utilities.d.mts +51 -2
- package/dist/utilities.d.mts.map +1 -0
- package/dist/validations.d.cts +21 -2
- package/dist/validations.d.cts.map +1 -0
- package/dist/validations.d.mts +21 -2
- package/dist/validations.d.mts.map +1 -0
- package/package.json +3 -3
- package/dist/array-DVtfX_TI.d.mts +0 -122
- package/dist/array-DVtfX_TI.d.mts.map +0 -1
- package/dist/array-DtIKbcDr.d.cts +0 -122
- package/dist/array-DtIKbcDr.d.cts.map +0 -1
- package/dist/async-BtPWg6IL.d.mts +0 -111
- package/dist/async-BtPWg6IL.d.mts.map +0 -1
- package/dist/async-eKWh-_sF.d.cts +0 -111
- package/dist/async-eKWh-_sF.d.cts.map +0 -1
- package/dist/base-CiIyKS-b.d.mts +0 -331
- package/dist/base-CiIyKS-b.d.mts.map +0 -1
- package/dist/base-Cpeh4C5c.cjs +0 -3
- package/dist/base-DmFPRVSE.mjs +0 -3
- package/dist/base-DmFPRVSE.mjs.map +0 -1
- package/dist/base-EF17pdAI.d.cts +0 -331
- package/dist/base-EF17pdAI.d.cts.map +0 -1
- package/dist/configuration-5Q2wg3Id.d.mts +0 -71
- package/dist/configuration-5Q2wg3Id.d.mts.map +0 -1
- package/dist/configuration-Dvz7q6dd.d.cts +0 -71
- package/dist/configuration-Dvz7q6dd.d.cts.map +0 -1
- package/dist/file-dM8RAMNC.d.cts +0 -51
- package/dist/file-dM8RAMNC.d.cts.map +0 -1
- package/dist/file-eWushyiM.d.mts +0 -51
- package/dist/file-eWushyiM.d.mts.map +0 -1
- package/dist/form-mTzpZCeA.d.cts +0 -40
- package/dist/form-mTzpZCeA.d.cts.map +0 -1
- package/dist/form-sNCVXIEk.d.mts +0 -40
- package/dist/form-sNCVXIEk.d.mts.map +0 -1
- package/dist/json-BlaU0Pbq.d.cts +0 -70
- package/dist/json-BlaU0Pbq.d.cts.map +0 -1
- package/dist/json-C3wqh2t3.d.mts +0 -70
- package/dist/json-C3wqh2t3.d.mts.map +0 -1
- package/dist/logic-BoEG5A3-.d.cts +0 -374
- package/dist/logic-BoEG5A3-.d.cts.map +0 -1
- package/dist/logic-h9Jrrpsk.d.mts +0 -374
- package/dist/logic-h9Jrrpsk.d.mts.map +0 -1
- package/dist/messages-Bxu_o13x.d.mts +0 -21
- package/dist/messages-Bxu_o13x.d.mts.map +0 -1
- package/dist/messages-PtLJRJeN.d.cts +0 -21
- package/dist/messages-PtLJRJeN.d.cts.map +0 -1
- package/dist/navigator-DLpMW73v.d.mts +0 -42
- package/dist/navigator-DLpMW73v.d.mts.map +0 -1
- package/dist/navigator-wsxMUGqK.d.cts +0 -42
- package/dist/navigator-wsxMUGqK.d.cts.map +0 -1
- package/dist/object-B3Rc0f80.d.mts +0 -392
- package/dist/object-B3Rc0f80.d.mts.map +0 -1
- package/dist/object-DyLgFijN.d.cts +0 -392
- package/dist/object-DyLgFijN.d.cts.map +0 -1
- package/dist/package-json-BYMmXu4B.d.mts +0 -261
- package/dist/package-json-BYMmXu4B.d.mts.map +0 -1
- package/dist/package-json-DMeUqEmW.d.cts +0 -261
- package/dist/package-json-DMeUqEmW.d.cts.map +0 -1
- package/dist/package-manager-PRcovqs-.d.mts +0 -6
- package/dist/package-manager-PRcovqs-.d.mts.map +0 -1
- package/dist/package-manager-tcG2TLVT.d.cts +0 -6
- package/dist/package-manager-tcG2TLVT.d.cts.map +0 -1
- package/dist/system-BxYi2_rE.d.mts +0 -5
- package/dist/system-BxYi2_rE.d.mts.map +0 -1
- package/dist/system-n1LPjzuJ.d.cts +0 -5
- package/dist/system-n1LPjzuJ.d.cts.map +0 -1
- package/dist/tsconfig-C6dWY2RO.d.cts +0 -803
- package/dist/tsconfig-C6dWY2RO.d.cts.map +0 -1
- package/dist/tsconfig-CUKA7cEN.d.mts +0 -803
- package/dist/tsconfig-CUKA7cEN.d.mts.map +0 -1
- package/dist/user-CkdO4wnf.d.mts +0 -29
- package/dist/user-CkdO4wnf.d.mts.map +0 -1
- package/dist/user-CovHR6Ne.d.cts +0 -29
- package/dist/user-CovHR6Ne.d.cts.map +0 -1
- package/dist/utilities-BVS-gcgS.d.mts +0 -51
- package/dist/utilities-BVS-gcgS.d.mts.map +0 -1
- package/dist/utilities-Jb4ggdM-.d.cts +0 -51
- package/dist/utilities-Jb4ggdM-.d.cts.map +0 -1
- package/dist/validations-C_7osVpS.d.mts +0 -21
- package/dist/validations-C_7osVpS.d.mts.map +0 -1
- package/dist/validations-CvwxY4RE.d.cts +0 -21
- package/dist/validations-CvwxY4RE.d.cts.map +0 -1
package/dist/tsconfig.d.cts
CHANGED
|
@@ -1,2 +1,803 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { FilterPattern } from "./file.cjs";
|
|
2
|
+
|
|
3
|
+
//#region src/tsconfig.d.ts
|
|
4
|
+
type JSX = "preserve" | "react" | "react-jsx" | "react-jsxdev" | "react-native";
|
|
5
|
+
type Module = "CommonJS" | "AMD" | "System" | "UMD" | "ES6" | "ES2015" | "ES2020" | "ES2022" | "ESNext" | "Node16" | "NodeNext" | "Preserve" | "None" | "commonjs" | "amd" | "system" | "umd" | "es6" | "es2015" | "es2020" | "es2022" | "esnext" | "node16" | "nodenext" | "preserve" | "none";
|
|
6
|
+
type NewLine = "CRLF" | "LF" | "crlf" | "lf";
|
|
7
|
+
type Target = "ES3" | "ES5" | "ES6" | "ES2015" | "ES2016" | "ES2017" | "ES2018" | "ES2019" | "ES2020" | "ES2021" | "ES2022" | "ESNext" | "es3" | "es5" | "es6" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "esnext";
|
|
8
|
+
type Lib = "ES5" | "ES6" | "ES7" | "ES2015" | "ES2015.Collection" | "ES2015.Core" | "ES2015.Generator" | "ES2015.Iterable" | "ES2015.Promise" | "ES2015.Proxy" | "ES2015.Reflect" | "ES2015.Symbol.WellKnown" | "ES2015.Symbol" | "ES2016" | "ES2016.Array.Include" | "ES2017" | "ES2017.Intl" | "ES2017.Object" | "ES2017.SharedMemory" | "ES2017.String" | "ES2017.TypedArrays" | "ES2018" | "ES2018.AsyncGenerator" | "ES2018.AsyncIterable" | "ES2018.Intl" | "ES2018.Promise" | "ES2018.Regexp" | "ES2019" | "ES2019.Array" | "ES2019.Object" | "ES2019.String" | "ES2019.Symbol" | "ES2020" | "ES2020.BigInt" | "ES2020.Promise" | "ES2020.String" | "ES2020.Symbol.WellKnown" | "ES2020.SharedMemory" | "ES2020.Intl" | "ES2021" | "ES2021.Promise" | "ES2021.String" | "ES2021.WeakRef" | "ES2022" | "ES2022.Array" | "ES2022.Error" | "ES2022.Intl" | "ES2022.Object" | "ES2022.SharedMemory" | "ES2022.String" | "ES2022.RegExp" | "ESNext" | "ESNext.Array" | "ESNext.AsyncIterable" | "ESNext.BigInt" | "ESNext.Intl" | "ESNext.Promise" | "ESNext.String" | "ESNext.Symbol" | "ESNext.WeakRef" | "DOM" | "DOM.Iterable" | "ScriptHost" | "WebWorker" | "WebWorker.ImportScripts" | "WebWorker.Iterable" | "es5" | "es6" | "es7" | "es2015" | "es2015.collection" | "es2015.core" | "es2015.generator" | "es2015.iterable" | "es2015.promise" | "es2015.proxy" | "es2015.reflect" | "es2015.symbol.wellknown" | "es2015.symbol" | "es2016" | "es2016.array.include" | "es2017" | "es2017.intl" | "es2017.object" | "es2017.sharedmemory" | "es2017.string" | "es2017.typedarrays" | "es2018" | "es2018.asyncgenerator" | "es2018.asynciterable" | "es2018.intl" | "es2018.promise" | "es2018.regexp" | "es2019" | "es2019.array" | "es2019.object" | "es2019.string" | "es2019.symbol" | "es2020" | "es2020.bigint" | "es2020.promise" | "es2020.string" | "es2020.symbol.wellknown" | "es2020.sharedmemory" | "es2020.intl" | "es2021" | "es2021.promise" | "es2021.string" | "es2021.weakref" | "es2022" | "es2022.array" | "es2022.error" | "es2022.intl" | "es2022.object" | "es2022.sharedmemory" | "es2022.string" | "es2022.regexp" | "esnext" | "esnext.array" | "esnext.asynciterable" | "esnext.bigint" | "esnext.intl" | "esnext.promise" | "esnext.string" | "esnext.symbol" | "esnext.weakref" | "dom" | "dom.iterable" | "scripthost" | "webworker" | "webworker.importscripts" | "webworker.iterable";
|
|
9
|
+
interface Plugin {
|
|
10
|
+
/**
|
|
11
|
+
* Plugin name.
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
}
|
|
15
|
+
type ImportsNotUsedAsValues = "remove" | "preserve" | "error";
|
|
16
|
+
type FallbackPolling = "fixedPollingInterval" | "priorityPollingInterval" | "dynamicPriorityPolling" | "fixedInterval" | "priorityInterval" | "dynamicPriority" | "fixedChunkSize";
|
|
17
|
+
type WatchDirectory = "useFsEvents" | "fixedPollingInterval" | "dynamicPriorityPolling" | "fixedChunkSizePolling";
|
|
18
|
+
type WatchFile = "fixedPollingInterval" | "priorityPollingInterval" | "dynamicPriorityPolling" | "useFsEvents" | "useFsEventsOnParentDirectory" | "fixedChunkSizePolling";
|
|
19
|
+
type ModuleResolution = "classic" | "node" | "node10" | "node16" | "nodenext" | "bundler" | "Classic" | "Node" | "Node10" | "Node16" | "NodeNext" | "Bundler";
|
|
20
|
+
type ModuleDetection = "auto" | "legacy" | "force";
|
|
21
|
+
type IgnoreDeprecations = "5.0";
|
|
22
|
+
interface CompilerOptions {
|
|
23
|
+
/**
|
|
24
|
+
* The character set of the input files.
|
|
25
|
+
*
|
|
26
|
+
* @defaultValue 'utf8'
|
|
27
|
+
* @deprecated This option will be removed in TypeScript 5.5.
|
|
28
|
+
*/
|
|
29
|
+
charset?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Enables building for project references.
|
|
32
|
+
*
|
|
33
|
+
* @defaultValue true
|
|
34
|
+
*/
|
|
35
|
+
composite?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Generates corresponding d.ts files.
|
|
38
|
+
*
|
|
39
|
+
* @defaultValue false
|
|
40
|
+
*/
|
|
41
|
+
declaration?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Specify output directory for generated declaration files.
|
|
44
|
+
*/
|
|
45
|
+
declarationDir?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Show diagnostic information.
|
|
48
|
+
*
|
|
49
|
+
* @defaultValue false
|
|
50
|
+
*/
|
|
51
|
+
diagnostics?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Reduce the number of projects loaded automatically by TypeScript.
|
|
54
|
+
*
|
|
55
|
+
* @defaultValue false
|
|
56
|
+
*/
|
|
57
|
+
disableReferencedProjectLoad?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
* Enforces using indexed accessors for keys declared using an indexed type.
|
|
60
|
+
*
|
|
61
|
+
* @defaultValue false
|
|
62
|
+
*/
|
|
63
|
+
noPropertyAccessFromIndexSignature?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files.
|
|
66
|
+
*
|
|
67
|
+
* @defaultValue false
|
|
68
|
+
*/
|
|
69
|
+
emitBOM?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Only emit `.d.ts` declaration files.
|
|
72
|
+
*
|
|
73
|
+
* @defaultValue false
|
|
74
|
+
*/
|
|
75
|
+
emitDeclarationOnly?: boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Differentiate between undefined and not present when type checking.
|
|
78
|
+
*
|
|
79
|
+
* @defaultValue false
|
|
80
|
+
*/
|
|
81
|
+
exactOptionalPropertyTypes?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Enable incremental compilation.
|
|
84
|
+
*
|
|
85
|
+
* @defaultValue `composite`
|
|
86
|
+
*/
|
|
87
|
+
incremental?: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Specify file to store incremental compilation information.
|
|
90
|
+
*
|
|
91
|
+
* @defaultValue '.tsbuildinfo'
|
|
92
|
+
*/
|
|
93
|
+
tsBuildInfoFile?: string;
|
|
94
|
+
/**
|
|
95
|
+
* Emit a single file with source maps instead of having a separate file.
|
|
96
|
+
*
|
|
97
|
+
* @defaultValue false
|
|
98
|
+
*/
|
|
99
|
+
inlineSourceMap?: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* Emit the source alongside the sourcemaps within a single file.
|
|
102
|
+
*
|
|
103
|
+
* Requires `--inlineSourceMap` to be set.
|
|
104
|
+
*
|
|
105
|
+
* @defaultValue false
|
|
106
|
+
*/
|
|
107
|
+
inlineSources?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Specify what JSX code is generated.
|
|
110
|
+
*
|
|
111
|
+
* @defaultValue 'preserve'
|
|
112
|
+
*/
|
|
113
|
+
jsx?: JSX;
|
|
114
|
+
/**
|
|
115
|
+
* Specifies the object invoked for `createElement` and `__spread` when targeting `'react'` JSX emit.
|
|
116
|
+
*
|
|
117
|
+
* @defaultValue 'React'
|
|
118
|
+
*/
|
|
119
|
+
reactNamespace?: string;
|
|
120
|
+
/**
|
|
121
|
+
* Specify the JSX factory function to use when targeting React JSX emit, e.g. `React.createElement` or `h`.
|
|
122
|
+
*
|
|
123
|
+
* @defaultValue 'React.createElement'
|
|
124
|
+
*/
|
|
125
|
+
jsxFactory?: string;
|
|
126
|
+
/**
|
|
127
|
+
* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'.
|
|
128
|
+
*
|
|
129
|
+
* @defaultValue 'React.Fragment'
|
|
130
|
+
*/
|
|
131
|
+
jsxFragmentFactory?: string;
|
|
132
|
+
/**
|
|
133
|
+
* Specify module specifier used to import the JSX factory functions when using `jsx: react-jsx*`.
|
|
134
|
+
*
|
|
135
|
+
* @defaultValue 'react'
|
|
136
|
+
*/
|
|
137
|
+
jsxImportSource?: string;
|
|
138
|
+
/**
|
|
139
|
+
* Print names of files part of the compilation.
|
|
140
|
+
*
|
|
141
|
+
* @defaultValue false
|
|
142
|
+
*/
|
|
143
|
+
listFiles?: boolean;
|
|
144
|
+
/**
|
|
145
|
+
* Specifies the location where debugger should locate map files instead of generated locations.
|
|
146
|
+
*/
|
|
147
|
+
mapRoot?: string;
|
|
148
|
+
/**
|
|
149
|
+
* Specify module code generation: 'None', 'CommonJS', 'AMD', 'System', 'UMD', 'ES6', 'ES2015' or 'ESNext'. Only 'AMD' and 'System' can be used in conjunction with `--outFile`. 'ES6' and 'ES2015' values may be used when targeting 'ES5' or lower.
|
|
150
|
+
*
|
|
151
|
+
* @defaultValue ['ES3', 'ES5'].includes(target) ? 'CommonJS' : 'ES6'
|
|
152
|
+
*/
|
|
153
|
+
module?: Module;
|
|
154
|
+
/**
|
|
155
|
+
* Specifies module resolution strategy: 'node' (Node) or 'classic' (TypeScript pre 1.6).
|
|
156
|
+
*
|
|
157
|
+
* @defaultValue ['AMD', 'System', 'ES6'].includes(module) ? 'classic' : 'node'
|
|
158
|
+
*/
|
|
159
|
+
moduleResolution?: ModuleResolution;
|
|
160
|
+
/**
|
|
161
|
+
* Specifies the end of line sequence to be used when emitting files: 'crlf' (Windows) or 'lf' (Unix).
|
|
162
|
+
*
|
|
163
|
+
* @defaultValue 'LF'
|
|
164
|
+
*/
|
|
165
|
+
newLine?: NewLine;
|
|
166
|
+
/**
|
|
167
|
+
* Do not emit output.
|
|
168
|
+
*
|
|
169
|
+
* @defaultValue false
|
|
170
|
+
*/
|
|
171
|
+
noEmit?: boolean;
|
|
172
|
+
/**
|
|
173
|
+
* Do not generate custom helper functions like `__extends` in compiled output.
|
|
174
|
+
*
|
|
175
|
+
* @defaultValue false
|
|
176
|
+
*/
|
|
177
|
+
noEmitHelpers?: boolean;
|
|
178
|
+
/**
|
|
179
|
+
* Do not emit outputs if any type checking errors were reported.
|
|
180
|
+
*
|
|
181
|
+
* @defaultValue false
|
|
182
|
+
*/
|
|
183
|
+
noEmitOnError?: boolean;
|
|
184
|
+
/**
|
|
185
|
+
* Warn on expressions and declarations with an implied 'any' type.
|
|
186
|
+
*
|
|
187
|
+
* @defaultValue false
|
|
188
|
+
*/
|
|
189
|
+
noImplicitAny?: boolean;
|
|
190
|
+
/**
|
|
191
|
+
* Raise error on 'this' expressions with an implied any type.
|
|
192
|
+
*
|
|
193
|
+
* @defaultValue false
|
|
194
|
+
*/
|
|
195
|
+
noImplicitThis?: boolean;
|
|
196
|
+
/**
|
|
197
|
+
* Report errors on unused locals.
|
|
198
|
+
*
|
|
199
|
+
* @defaultValue false
|
|
200
|
+
*/
|
|
201
|
+
noUnusedLocals?: boolean;
|
|
202
|
+
/**
|
|
203
|
+
* Report errors on unused parameters.
|
|
204
|
+
*
|
|
205
|
+
* @defaultValue false
|
|
206
|
+
*/
|
|
207
|
+
noUnusedParameters?: boolean;
|
|
208
|
+
/**
|
|
209
|
+
* Do not include the default library file (lib.d.ts).
|
|
210
|
+
*
|
|
211
|
+
* @defaultValue false
|
|
212
|
+
*/
|
|
213
|
+
noLib?: boolean;
|
|
214
|
+
/**
|
|
215
|
+
* Do not add triple-slash references or module import targets to the list of compiled files.
|
|
216
|
+
*
|
|
217
|
+
* @defaultValue false
|
|
218
|
+
*/
|
|
219
|
+
noResolve?: boolean;
|
|
220
|
+
/**
|
|
221
|
+
* Disable strict checking of generic signatures in function types.
|
|
222
|
+
*
|
|
223
|
+
* @defaultValue false
|
|
224
|
+
* @deprecated This option will be removed in TypeScript 5.5.
|
|
225
|
+
*/
|
|
226
|
+
noStrictGenericChecks?: boolean;
|
|
227
|
+
/**
|
|
228
|
+
* @deprecated use `skipLibCheck` instead.
|
|
229
|
+
*/
|
|
230
|
+
skipDefaultLibCheck?: boolean;
|
|
231
|
+
/**
|
|
232
|
+
* Skip type checking of declaration files.
|
|
233
|
+
*
|
|
234
|
+
* @defaultValue false
|
|
235
|
+
*/
|
|
236
|
+
skipLibCheck?: boolean;
|
|
237
|
+
/**
|
|
238
|
+
* Concatenate and emit output to single file.
|
|
239
|
+
*/
|
|
240
|
+
outFile?: string;
|
|
241
|
+
/**
|
|
242
|
+
* Redirect output structure to the directory.
|
|
243
|
+
*/
|
|
244
|
+
outDir?: string;
|
|
245
|
+
/**
|
|
246
|
+
* Do not erase const enum declarations in generated code.
|
|
247
|
+
*
|
|
248
|
+
* @defaultValue false
|
|
249
|
+
*/
|
|
250
|
+
preserveConstEnums?: boolean;
|
|
251
|
+
/**
|
|
252
|
+
* Do not resolve symlinks to their real path; treat a symlinked file like a real one.
|
|
253
|
+
*
|
|
254
|
+
* @defaultValue false
|
|
255
|
+
*/
|
|
256
|
+
preserveSymlinks?: boolean;
|
|
257
|
+
/**
|
|
258
|
+
* Keep outdated console output in watch mode instead of clearing the screen.
|
|
259
|
+
*
|
|
260
|
+
* @defaultValue false
|
|
261
|
+
*/
|
|
262
|
+
preserveWatchOutput?: boolean;
|
|
263
|
+
/**
|
|
264
|
+
* Stylize errors and messages using color and context (experimental).
|
|
265
|
+
*
|
|
266
|
+
* @defaultValue true // Unless piping to another program or redirecting output to a file.
|
|
267
|
+
*/
|
|
268
|
+
pretty?: boolean;
|
|
269
|
+
/**
|
|
270
|
+
* Do not emit comments to output.
|
|
271
|
+
*
|
|
272
|
+
* @defaultValue false
|
|
273
|
+
*/
|
|
274
|
+
removeComments?: boolean;
|
|
275
|
+
/**
|
|
276
|
+
* Specifies the root directory of input files.
|
|
277
|
+
*
|
|
278
|
+
* Use to control the output directory structure with `--outDir`.
|
|
279
|
+
*/
|
|
280
|
+
rootDir?: string;
|
|
281
|
+
/**
|
|
282
|
+
* Unconditionally emit imports for unresolved files.
|
|
283
|
+
*
|
|
284
|
+
* @defaultValue false
|
|
285
|
+
*/
|
|
286
|
+
isolatedModules?: boolean;
|
|
287
|
+
/**
|
|
288
|
+
* Generates corresponding '.map' file.
|
|
289
|
+
*
|
|
290
|
+
* @defaultValue false
|
|
291
|
+
*/
|
|
292
|
+
sourceMap?: boolean;
|
|
293
|
+
/**
|
|
294
|
+
* Specifies the location where debugger should locate TypeScript files instead of source locations.
|
|
295
|
+
*/
|
|
296
|
+
sourceRoot?: string;
|
|
297
|
+
/**
|
|
298
|
+
* Suppress excess property checks for object literals.
|
|
299
|
+
*
|
|
300
|
+
* @defaultValue false
|
|
301
|
+
* @deprecated This option will be removed in TypeScript 5.5.
|
|
302
|
+
*/
|
|
303
|
+
suppressExcessPropertyErrors?: boolean;
|
|
304
|
+
/**
|
|
305
|
+
* Suppress noImplicitAny errors for indexing objects lacking index signatures.
|
|
306
|
+
*
|
|
307
|
+
* @defaultValue false
|
|
308
|
+
* @deprecated This option will be removed in TypeScript 5.5.
|
|
309
|
+
*/
|
|
310
|
+
suppressImplicitAnyIndexErrors?: boolean;
|
|
311
|
+
/**
|
|
312
|
+
* Do not emit declarations for code that has an `@internal` annotation.
|
|
313
|
+
*/
|
|
314
|
+
stripInternal?: boolean;
|
|
315
|
+
/**
|
|
316
|
+
* Specify ECMAScript target version.
|
|
317
|
+
*
|
|
318
|
+
* @defaultValue 'es3'
|
|
319
|
+
*/
|
|
320
|
+
target?: Target;
|
|
321
|
+
/**
|
|
322
|
+
* Default catch clause variables as `unknown` instead of `any`.
|
|
323
|
+
*
|
|
324
|
+
* @defaultValue false
|
|
325
|
+
*/
|
|
326
|
+
useUnknownInCatchVariables?: boolean;
|
|
327
|
+
/**
|
|
328
|
+
* Watch input files.
|
|
329
|
+
*
|
|
330
|
+
* @defaultValue false
|
|
331
|
+
* @deprecated Use watchOptions instead.
|
|
332
|
+
*/
|
|
333
|
+
watch?: boolean;
|
|
334
|
+
/**
|
|
335
|
+
* Specify the polling strategy to use when the system runs out of or doesn't support native file watchers.
|
|
336
|
+
*
|
|
337
|
+
* @deprecated Use watchOptions.fallbackPolling instead.
|
|
338
|
+
*/
|
|
339
|
+
fallbackPolling?: FallbackPolling;
|
|
340
|
+
/**
|
|
341
|
+
* Specify the strategy for watching directories under systems that lack recursive file-watching functionality.
|
|
342
|
+
*
|
|
343
|
+
* @defaultValue 'useFsEvents'
|
|
344
|
+
* @deprecated Use watchOptions.watchDirectory instead.
|
|
345
|
+
*/
|
|
346
|
+
watchDirectory?: WatchDirectory;
|
|
347
|
+
/**
|
|
348
|
+
* Specify the strategy for watching individual files.
|
|
349
|
+
*
|
|
350
|
+
* @defaultValue 'useFsEvents'
|
|
351
|
+
* @deprecated Use watchOptions.watchFile instead.
|
|
352
|
+
*/
|
|
353
|
+
watchFile?: WatchFile;
|
|
354
|
+
/**
|
|
355
|
+
* Enables experimental support for ES7 decorators.
|
|
356
|
+
*
|
|
357
|
+
* @defaultValue false
|
|
358
|
+
*/
|
|
359
|
+
experimentalDecorators?: boolean;
|
|
360
|
+
/**
|
|
361
|
+
* Emit design-type metadata for decorated declarations in source.
|
|
362
|
+
*
|
|
363
|
+
* @defaultValue false
|
|
364
|
+
*/
|
|
365
|
+
emitDecoratorMetadata?: boolean;
|
|
366
|
+
/**
|
|
367
|
+
* Do not report errors on unused labels.
|
|
368
|
+
*
|
|
369
|
+
* @defaultValue false
|
|
370
|
+
*/
|
|
371
|
+
allowUnusedLabels?: boolean;
|
|
372
|
+
/**
|
|
373
|
+
* Report error when not all code paths in function return a value.
|
|
374
|
+
*
|
|
375
|
+
* @defaultValue false
|
|
376
|
+
*/
|
|
377
|
+
noImplicitReturns?: boolean;
|
|
378
|
+
/**
|
|
379
|
+
* Add `undefined` to a type when accessed using an index.
|
|
380
|
+
*
|
|
381
|
+
* @defaultValue false
|
|
382
|
+
*/
|
|
383
|
+
noUncheckedIndexedAccess?: boolean;
|
|
384
|
+
/**
|
|
385
|
+
* Report errors for fallthrough cases in switch statement.
|
|
386
|
+
*
|
|
387
|
+
* @defaultValue false
|
|
388
|
+
*/
|
|
389
|
+
noFallthroughCasesInSwitch?: boolean;
|
|
390
|
+
/**
|
|
391
|
+
* Ensure overriding members in derived classes are marked with an override modifier.
|
|
392
|
+
*
|
|
393
|
+
* @defaultValue false
|
|
394
|
+
*/
|
|
395
|
+
noImplicitOverride?: boolean;
|
|
396
|
+
/**
|
|
397
|
+
* Do not report errors on unreachable code.
|
|
398
|
+
*
|
|
399
|
+
* @defaultValue false
|
|
400
|
+
*/
|
|
401
|
+
allowUnreachableCode?: boolean;
|
|
402
|
+
/**
|
|
403
|
+
* Disallow inconsistently-cased references to the same file.
|
|
404
|
+
*
|
|
405
|
+
* @defaultValue true
|
|
406
|
+
*/
|
|
407
|
+
forceConsistentCasingInFileNames?: boolean;
|
|
408
|
+
/**
|
|
409
|
+
* Emit a v8 CPU profile of the compiler run for debugging.
|
|
410
|
+
*
|
|
411
|
+
* @defaultValue 'profile.cpuprofile'
|
|
412
|
+
*/
|
|
413
|
+
generateCpuProfile?: string;
|
|
414
|
+
/**
|
|
415
|
+
* Base directory to resolve non-relative module names.
|
|
416
|
+
*/
|
|
417
|
+
baseUrl?: string;
|
|
418
|
+
/**
|
|
419
|
+
* Specify path mapping to be computed relative to baseUrl option.
|
|
420
|
+
*/
|
|
421
|
+
paths?: Record<string, string[]>;
|
|
422
|
+
/**
|
|
423
|
+
* List of TypeScript language server plugins to load.
|
|
424
|
+
*/
|
|
425
|
+
plugins?: Plugin[];
|
|
426
|
+
/**
|
|
427
|
+
* Specify list of root directories to be used when resolving modules.
|
|
428
|
+
*/
|
|
429
|
+
rootDirs?: string[];
|
|
430
|
+
/**
|
|
431
|
+
* Specify list of directories for type definition files to be included.
|
|
432
|
+
*/
|
|
433
|
+
typeRoots?: string[];
|
|
434
|
+
/**
|
|
435
|
+
* Type declaration files to be included in compilation.
|
|
436
|
+
*/
|
|
437
|
+
types?: string[];
|
|
438
|
+
/**
|
|
439
|
+
* Enable tracing of the name resolution process.
|
|
440
|
+
*
|
|
441
|
+
* @defaultValue false
|
|
442
|
+
*/
|
|
443
|
+
traceResolution?: boolean;
|
|
444
|
+
/**
|
|
445
|
+
* Allow javascript files to be compiled.
|
|
446
|
+
*
|
|
447
|
+
* @defaultValue false
|
|
448
|
+
*/
|
|
449
|
+
allowJs?: boolean;
|
|
450
|
+
/**
|
|
451
|
+
* Do not truncate error messages.
|
|
452
|
+
*
|
|
453
|
+
* @defaultValue false
|
|
454
|
+
*/
|
|
455
|
+
noErrorTruncation?: boolean;
|
|
456
|
+
/**
|
|
457
|
+
* Allow default imports from modules with no default export. This does not affect code emit, just typechecking.
|
|
458
|
+
*
|
|
459
|
+
* @defaultValue module === 'system' || esModuleInterop
|
|
460
|
+
*/
|
|
461
|
+
allowSyntheticDefaultImports?: boolean;
|
|
462
|
+
/**
|
|
463
|
+
* Do not emit `'use strict'` directives in module output.
|
|
464
|
+
*
|
|
465
|
+
* @defaultValue false
|
|
466
|
+
* @deprecated This option will be removed in TypeScript 5.5.
|
|
467
|
+
*/
|
|
468
|
+
noImplicitUseStrict?: boolean;
|
|
469
|
+
/**
|
|
470
|
+
* Enable to list all emitted files.
|
|
471
|
+
*
|
|
472
|
+
* @defaultValue false
|
|
473
|
+
*/
|
|
474
|
+
listEmittedFiles?: boolean;
|
|
475
|
+
/**
|
|
476
|
+
* Disable size limit for JavaScript project.
|
|
477
|
+
*
|
|
478
|
+
* @defaultValue false
|
|
479
|
+
*/
|
|
480
|
+
disableSizeLimit?: boolean;
|
|
481
|
+
/**
|
|
482
|
+
* List of library files to be included in the compilation.
|
|
483
|
+
*/
|
|
484
|
+
lib?: Lib[];
|
|
485
|
+
/**
|
|
486
|
+
* Enable strict null checks.
|
|
487
|
+
*
|
|
488
|
+
* @defaultValue false
|
|
489
|
+
*/
|
|
490
|
+
strictNullChecks?: boolean;
|
|
491
|
+
/**
|
|
492
|
+
* The maximum dependency depth to search under `node_modules` and load JavaScript files. Only applicable with `--allowJs`.
|
|
493
|
+
*
|
|
494
|
+
* @defaultValue 0
|
|
495
|
+
*/
|
|
496
|
+
maxNodeModuleJsDepth?: number;
|
|
497
|
+
/**
|
|
498
|
+
* Import emit helpers (e.g. `__extends`, `__rest`, etc..) from tslib.
|
|
499
|
+
*
|
|
500
|
+
* @defaultValue false
|
|
501
|
+
*/
|
|
502
|
+
importHelpers?: boolean;
|
|
503
|
+
/**
|
|
504
|
+
* Specify emit/checking behavior for imports that are only used for types.
|
|
505
|
+
*
|
|
506
|
+
* @defaultValue 'remove'
|
|
507
|
+
* @deprecated Use `verbatimModuleSyntax` instead.
|
|
508
|
+
*/
|
|
509
|
+
importsNotUsedAsValues?: ImportsNotUsedAsValues;
|
|
510
|
+
/**
|
|
511
|
+
* Parse in strict mode and emit `'use strict'` for each source file.
|
|
512
|
+
*
|
|
513
|
+
* @defaultValue false
|
|
514
|
+
*/
|
|
515
|
+
alwaysStrict?: boolean;
|
|
516
|
+
/**
|
|
517
|
+
* Enable all strict type checking options.
|
|
518
|
+
*
|
|
519
|
+
* @defaultValue false
|
|
520
|
+
*/
|
|
521
|
+
strict?: boolean;
|
|
522
|
+
/**
|
|
523
|
+
* Enable stricter checking of of the `bind`, `call`, and `apply` methods on functions.
|
|
524
|
+
*
|
|
525
|
+
* @defaultValue false
|
|
526
|
+
*/
|
|
527
|
+
strictBindCallApply?: boolean;
|
|
528
|
+
/**
|
|
529
|
+
* Provide full support for iterables in `for-of`, spread, and destructuring when targeting `ES5` or `ES3`.
|
|
530
|
+
*
|
|
531
|
+
* @defaultValue false
|
|
532
|
+
*/
|
|
533
|
+
downlevelIteration?: boolean;
|
|
534
|
+
/**
|
|
535
|
+
* Report errors in `.js` files.
|
|
536
|
+
*
|
|
537
|
+
* @defaultValue false
|
|
538
|
+
*/
|
|
539
|
+
checkJs?: boolean;
|
|
540
|
+
/**
|
|
541
|
+
* Disable bivariant parameter checking for function types.
|
|
542
|
+
*
|
|
543
|
+
* @defaultValue false
|
|
544
|
+
*/
|
|
545
|
+
strictFunctionTypes?: boolean;
|
|
546
|
+
/**
|
|
547
|
+
* Ensure non-undefined class properties are initialized in the constructor.
|
|
548
|
+
*
|
|
549
|
+
* @defaultValue false
|
|
550
|
+
*/
|
|
551
|
+
strictPropertyInitialization?: boolean;
|
|
552
|
+
/**
|
|
553
|
+
* Emit `__importStar` and `__importDefault` helpers for runtime Babel ecosystem compatibility and enable `--allowSyntheticDefaultImports` for typesystem compatibility.
|
|
554
|
+
*
|
|
555
|
+
* @defaultValue false
|
|
556
|
+
*/
|
|
557
|
+
esModuleInterop?: boolean;
|
|
558
|
+
/**
|
|
559
|
+
* Allow accessing UMD globals from modules.
|
|
560
|
+
*
|
|
561
|
+
* @defaultValue false
|
|
562
|
+
*/
|
|
563
|
+
allowUmdGlobalAccess?: boolean;
|
|
564
|
+
/**
|
|
565
|
+
* Resolve `keyof` to string valued property names only (no numbers or symbols).
|
|
566
|
+
*
|
|
567
|
+
* @defaultValue false
|
|
568
|
+
* @deprecated This option will be removed in TypeScript 5.5.
|
|
569
|
+
*/
|
|
570
|
+
keyofStringsOnly?: boolean;
|
|
571
|
+
/**
|
|
572
|
+
* Emit ECMAScript standard class fields.
|
|
573
|
+
*
|
|
574
|
+
* @defaultValue false
|
|
575
|
+
*/
|
|
576
|
+
useDefineForClassFields?: boolean;
|
|
577
|
+
/**
|
|
578
|
+
* Generates a sourcemap for each corresponding `.d.ts` file.
|
|
579
|
+
*
|
|
580
|
+
* @defaultValue false
|
|
581
|
+
*/
|
|
582
|
+
declarationMap?: boolean;
|
|
583
|
+
/**
|
|
584
|
+
* Include modules imported with `.json` extension.
|
|
585
|
+
*
|
|
586
|
+
* @defaultValue false
|
|
587
|
+
*/
|
|
588
|
+
resolveJsonModule?: boolean;
|
|
589
|
+
/**
|
|
590
|
+
* Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it.
|
|
591
|
+
*
|
|
592
|
+
* @defaultValue false
|
|
593
|
+
*/
|
|
594
|
+
assumeChangesOnlyAffectDirectDependencies?: boolean;
|
|
595
|
+
/**
|
|
596
|
+
* Output more detailed compiler performance information after building.
|
|
597
|
+
*
|
|
598
|
+
* @defaultValue false
|
|
599
|
+
*/
|
|
600
|
+
extendedDiagnostics?: boolean;
|
|
601
|
+
/**
|
|
602
|
+
* Print names of files that are part of the compilation and then stop processing.
|
|
603
|
+
*
|
|
604
|
+
* @defaultValue false
|
|
605
|
+
*/
|
|
606
|
+
listFilesOnly?: boolean;
|
|
607
|
+
/**
|
|
608
|
+
* Disable preferring source files instead of declaration files when referencing composite projects.
|
|
609
|
+
*
|
|
610
|
+
* @defaultValue true if composite, false otherwise
|
|
611
|
+
*/
|
|
612
|
+
disableSourceOfProjectReferenceRedirect?: boolean;
|
|
613
|
+
/**
|
|
614
|
+
* Opt a project out of multi-project reference checking when editing.
|
|
615
|
+
*
|
|
616
|
+
* @defaultValue false
|
|
617
|
+
*/
|
|
618
|
+
disableSolutionSearching?: boolean;
|
|
619
|
+
/**
|
|
620
|
+
* Print names of files which TypeScript sees as a part of your project and the reason they are part of the compilation.
|
|
621
|
+
*
|
|
622
|
+
* @defaultValue false
|
|
623
|
+
*/
|
|
624
|
+
explainFiles?: boolean;
|
|
625
|
+
/**
|
|
626
|
+
* Preserve unused imported values in the JavaScript output that would otherwise be removed.
|
|
627
|
+
*
|
|
628
|
+
* @defaultValue true
|
|
629
|
+
* @deprecated Use `verbatimModuleSyntax` instead.
|
|
630
|
+
*/
|
|
631
|
+
preserveValueImports?: boolean;
|
|
632
|
+
/**
|
|
633
|
+
* List of file name suffixes to search when resolving a module.
|
|
634
|
+
*/
|
|
635
|
+
moduleSuffixes?: string[];
|
|
636
|
+
/**
|
|
637
|
+
* Control what method is used to detect module-format JS files.
|
|
638
|
+
*
|
|
639
|
+
* @defaultValue 'auto'
|
|
640
|
+
*/
|
|
641
|
+
moduleDetection?: ModuleDetection;
|
|
642
|
+
/**
|
|
643
|
+
* Allows TypeScript files to import each other with a TypeScript-specific extension like .ts, .mts, or .tsx.
|
|
644
|
+
*
|
|
645
|
+
* @defaultValue false
|
|
646
|
+
*/
|
|
647
|
+
allowImportingTsExtensions?: boolean;
|
|
648
|
+
/**
|
|
649
|
+
* Forces TypeScript to consult the exports field of package.json files if it ever reads from a package in node_modules.
|
|
650
|
+
*
|
|
651
|
+
* @defaultValue false
|
|
652
|
+
*/
|
|
653
|
+
resolvePackageJsonExports?: boolean;
|
|
654
|
+
/**
|
|
655
|
+
* Forces TypeScript to consult the imports field of package.json files when performing a lookup that starts with # from a file whose ancestor directory contains a package.json.
|
|
656
|
+
*
|
|
657
|
+
* @defaultValue false
|
|
658
|
+
*/
|
|
659
|
+
resolvePackageJsonImports?: boolean;
|
|
660
|
+
/**
|
|
661
|
+
* Suppress errors for file formats that TypeScript does not understand.
|
|
662
|
+
*
|
|
663
|
+
* @defaultValue false
|
|
664
|
+
*/
|
|
665
|
+
allowArbitraryExtensions?: boolean;
|
|
666
|
+
/**
|
|
667
|
+
* List of additional conditions that should succeed when TypeScript resolves from package.json.
|
|
668
|
+
*/
|
|
669
|
+
customConditions?: string[];
|
|
670
|
+
/**
|
|
671
|
+
* Anything that uses the type modifier is dropped entirely.
|
|
672
|
+
*
|
|
673
|
+
* @defaultValue false
|
|
674
|
+
*/
|
|
675
|
+
verbatimModuleSyntax?: boolean;
|
|
676
|
+
/**
|
|
677
|
+
* Suppress deprecation warnings
|
|
678
|
+
*/
|
|
679
|
+
ignoreDeprecations?: IgnoreDeprecations;
|
|
680
|
+
}
|
|
681
|
+
type WatchFileKind = "FixedPollingInterval" | "PriorityPollingInterval" | "DynamicPriorityPolling" | "FixedChunkSizePolling" | "UseFsEvents" | "UseFsEventsOnParentDirectory";
|
|
682
|
+
type WatchDirectoryKind = "UseFsEvents" | "FixedPollingInterval" | "DynamicPriorityPolling" | "FixedChunkSizePolling";
|
|
683
|
+
type PollingWatchKind = "FixedInterval" | "PriorityInterval" | "DynamicPriority" | "FixedChunkSize";
|
|
684
|
+
interface WatchOptions {
|
|
685
|
+
/**
|
|
686
|
+
* Specify the strategy for watching individual files.
|
|
687
|
+
*
|
|
688
|
+
* @defaultValue 'UseFsEvents'
|
|
689
|
+
*/
|
|
690
|
+
watchFile?: WatchFileKind | Lowercase<WatchFileKind>;
|
|
691
|
+
/**
|
|
692
|
+
* Specify the strategy for watching directories under systems that lack recursive file-watching functionality.
|
|
693
|
+
*
|
|
694
|
+
* @defaultValue 'UseFsEvents'
|
|
695
|
+
*/
|
|
696
|
+
watchDirectory?: WatchDirectoryKind | Lowercase<WatchDirectoryKind>;
|
|
697
|
+
/**
|
|
698
|
+
* Specify the polling strategy to use when the system runs out of or doesn't support native file watchers.
|
|
699
|
+
*/
|
|
700
|
+
fallbackPolling?: PollingWatchKind | Lowercase<PollingWatchKind>;
|
|
701
|
+
/**
|
|
702
|
+
* Enable synchronous updates on directory watchers for platforms that don't support recursive watching natively.
|
|
703
|
+
*/
|
|
704
|
+
synchronousWatchDirectory?: boolean;
|
|
705
|
+
/**
|
|
706
|
+
* Specifies a list of directories to exclude from watch
|
|
707
|
+
*/
|
|
708
|
+
excludeDirectories?: string[];
|
|
709
|
+
/**
|
|
710
|
+
* Specifies a list of files to exclude from watch
|
|
711
|
+
*/
|
|
712
|
+
excludeFiles?: string[];
|
|
713
|
+
}
|
|
714
|
+
/**
|
|
715
|
+
* Auto type (.d.ts) acquisition options for this project.
|
|
716
|
+
*/
|
|
717
|
+
interface TypeAcquisition {
|
|
718
|
+
/**
|
|
719
|
+
* Enable auto type acquisition.
|
|
720
|
+
*/
|
|
721
|
+
enable?: boolean;
|
|
722
|
+
/**
|
|
723
|
+
* Specifies a list of type declarations to be included in auto type acquisition. For example, `['jquery', 'lodash']`.
|
|
724
|
+
*/
|
|
725
|
+
include?: string[];
|
|
726
|
+
/**
|
|
727
|
+
* Specifies a list of type declarations to be excluded from auto type acquisition. For example, `['jquery', 'lodash']`.
|
|
728
|
+
*/
|
|
729
|
+
exclude?: string[];
|
|
730
|
+
}
|
|
731
|
+
interface References {
|
|
732
|
+
/**
|
|
733
|
+
* A normalized path on disk.
|
|
734
|
+
*/
|
|
735
|
+
path: string;
|
|
736
|
+
/**
|
|
737
|
+
* The path as the user originally wrote it.
|
|
738
|
+
*/
|
|
739
|
+
originalPath?: string;
|
|
740
|
+
/**
|
|
741
|
+
* True if the output of this reference should be prepended to the output of this project.
|
|
742
|
+
*
|
|
743
|
+
* Only valid for `--outFile` compilations.
|
|
744
|
+
* @deprecated This option will be removed in TypeScript 5.5.
|
|
745
|
+
*/
|
|
746
|
+
prepend?: boolean;
|
|
747
|
+
/**
|
|
748
|
+
* True if it is intended that this reference form a circularity.
|
|
749
|
+
*/
|
|
750
|
+
circular?: boolean;
|
|
751
|
+
}
|
|
752
|
+
/**
|
|
753
|
+
* Type for [TypeScript's `tsconfig.json` file](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html) (TypeScript 3.7).
|
|
754
|
+
*/
|
|
755
|
+
interface TsConfigJson {
|
|
756
|
+
/**
|
|
757
|
+
* Instructs the TypeScript compiler how to compile `.ts` files.
|
|
758
|
+
*/
|
|
759
|
+
compilerOptions?: CompilerOptions;
|
|
760
|
+
/**
|
|
761
|
+
* Instructs the TypeScript compiler how to watch files.
|
|
762
|
+
*/
|
|
763
|
+
watchOptions?: WatchOptions;
|
|
764
|
+
/**
|
|
765
|
+
* Auto type (.d.ts) acquisition options for this project.
|
|
766
|
+
*/
|
|
767
|
+
typeAcquisition?: TypeAcquisition;
|
|
768
|
+
/**
|
|
769
|
+
* Enable Compile-on-Save for this project.
|
|
770
|
+
*/
|
|
771
|
+
compileOnSave?: boolean;
|
|
772
|
+
/**
|
|
773
|
+
* Path to base configuration file to inherit from.
|
|
774
|
+
*/
|
|
775
|
+
extends?: string | string[];
|
|
776
|
+
/**
|
|
777
|
+
* If no `files` or `include` property is present in a `tsconfig.json`, the compiler defaults to including all files in the containing directory and subdirectories except those specified by `exclude`. When a `files` property is specified, only those files and those specified by `include` are included.
|
|
778
|
+
*/
|
|
779
|
+
files?: string[];
|
|
780
|
+
/**
|
|
781
|
+
* A value used by [Deepkit](https://deepkit.io/documentation/runtime-types/getting-started) to enable the generation of runtime types.
|
|
782
|
+
*/
|
|
783
|
+
reflection?: boolean;
|
|
784
|
+
/**
|
|
785
|
+
* Specifies a list of files to be excluded from compilation. The `exclude` property only affects the files included via the `include` property and not the `files` property.
|
|
786
|
+
*
|
|
787
|
+
* Glob patterns require TypeScript version 2.0 or later.
|
|
788
|
+
*/
|
|
789
|
+
exclude?: FilterPattern[];
|
|
790
|
+
/**
|
|
791
|
+
* Specifies a list of glob patterns that match files to be included in compilation.
|
|
792
|
+
*
|
|
793
|
+
* If no `files` or `include` property is present in a `tsconfig.json`, the compiler defaults to including all files in the containing directory and subdirectories except those specified by `exclude`.
|
|
794
|
+
*/
|
|
795
|
+
include?: FilterPattern[];
|
|
796
|
+
/**
|
|
797
|
+
* Referenced projects.
|
|
798
|
+
*/
|
|
799
|
+
references?: References[];
|
|
800
|
+
}
|
|
801
|
+
//#endregion
|
|
802
|
+
export { CompilerOptions, FallbackPolling, IgnoreDeprecations, ImportsNotUsedAsValues, JSX, Lib, Module, ModuleDetection, ModuleResolution, NewLine, Plugin, PollingWatchKind, References, Target, TsConfigJson, TypeAcquisition, WatchDirectory, WatchDirectoryKind, WatchFile, WatchFileKind, WatchOptions };
|
|
803
|
+
//# sourceMappingURL=tsconfig.d.cts.map
|