@schemastore/tsconfig 0.0.10 → 0.0.12
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/README.md +22 -6
- package/index.d.ts +26 -62
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,12 +1,28 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
1
|
+
# Type definitions for tsconfig
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
npm i @schemastore/tsconfig
|
|
7
|
+
yarn add @schemastore/tsconfig
|
|
8
|
+
```
|
|
9
|
+
|
|
10
|
+
## Summary
|
|
3
11
|
|
|
4
|
-
# Summary
|
|
5
12
|
This package contains type definitions for tsconfig.
|
|
6
13
|
|
|
7
|
-
##
|
|
8
|
-
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import * as tsconfig from '@schemastore/tsconfig';
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Note
|
|
21
|
+
|
|
22
|
+
The definitions were auto-generated by [schemastore-updater](https://github.com/ffflorian/schemastore-updater) using [`json-schema-to-typescript`](https://www.npmjs.com/package/json-schema-to-typescript).
|
|
9
23
|
|
|
10
24
|
## Additional Details
|
|
11
|
-
|
|
25
|
+
|
|
26
|
+
* [Schema source](https://github.com/SchemaStore/schemastore/tree/master/src/schemas/json/tsconfig)
|
|
27
|
+
* Last updated: Sat, Jul 19, 2025, 17:01:26 GMT
|
|
12
28
|
* Dependencies: none
|
package/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export type JSONSchemaForTheTypeScriptCompilerSConfigurationFile = CompilerOptio
|
|
|
16
16
|
|
|
17
17
|
export interface CompilerOptionsDefinition {
|
|
18
18
|
compilerOptions?: CompilerOptions;
|
|
19
|
-
[k: string]: unknown;
|
|
19
|
+
[k: string]: unknown | undefined;
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Instructs the TypeScript compiler how to compile .ts files.
|
|
@@ -125,7 +125,7 @@ export interface CompilerOptions {
|
|
|
125
125
|
| "NodeNext"
|
|
126
126
|
)
|
|
127
127
|
| {
|
|
128
|
-
[k: string]: unknown;
|
|
128
|
+
[k: string]: unknown | undefined;
|
|
129
129
|
}
|
|
130
130
|
) &
|
|
131
131
|
string;
|
|
@@ -135,7 +135,7 @@ export interface CompilerOptions {
|
|
|
135
135
|
moduleResolution?: (
|
|
136
136
|
| ("Classic" | "Node" | "Node16" | "NodeNext")
|
|
137
137
|
| {
|
|
138
|
-
[k: string]: unknown;
|
|
138
|
+
[k: string]: unknown | undefined;
|
|
139
139
|
}
|
|
140
140
|
) &
|
|
141
141
|
string;
|
|
@@ -145,7 +145,7 @@ export interface CompilerOptions {
|
|
|
145
145
|
newLine?: (
|
|
146
146
|
| ("crlf" | "lf")
|
|
147
147
|
| {
|
|
148
|
-
[k: string]: unknown;
|
|
148
|
+
[k: string]: unknown | undefined;
|
|
149
149
|
}
|
|
150
150
|
) &
|
|
151
151
|
string;
|
|
@@ -276,7 +276,7 @@ export interface CompilerOptions {
|
|
|
276
276
|
| "ESNext"
|
|
277
277
|
)
|
|
278
278
|
| {
|
|
279
|
-
[k: string]: unknown;
|
|
279
|
+
[k: string]: unknown | undefined;
|
|
280
280
|
}
|
|
281
281
|
) &
|
|
282
282
|
string;
|
|
@@ -361,7 +361,7 @@ export interface CompilerOptions {
|
|
|
361
361
|
* Specify a set of entries that re-map imports to additional lookup locations.
|
|
362
362
|
*/
|
|
363
363
|
paths?: {
|
|
364
|
-
[k: string]: string[];
|
|
364
|
+
[k: string]: string[] | undefined;
|
|
365
365
|
};
|
|
366
366
|
/**
|
|
367
367
|
* Specify a list of language service plugins to include.
|
|
@@ -371,7 +371,7 @@ export interface CompilerOptions {
|
|
|
371
371
|
* Plugin name.
|
|
372
372
|
*/
|
|
373
373
|
name?: string;
|
|
374
|
-
[k: string]: unknown;
|
|
374
|
+
[k: string]: unknown | undefined;
|
|
375
375
|
}[];
|
|
376
376
|
/**
|
|
377
377
|
* Allow multiple folders to be treated as one when resolving modules.
|
|
@@ -486,43 +486,7 @@ export interface CompilerOptions {
|
|
|
486
486
|
| "ES2022.String"
|
|
487
487
|
)
|
|
488
488
|
| {
|
|
489
|
-
[k: string]: unknown;
|
|
490
|
-
}
|
|
491
|
-
| {
|
|
492
|
-
[k: string]: unknown;
|
|
493
|
-
}
|
|
494
|
-
| {
|
|
495
|
-
[k: string]: unknown;
|
|
496
|
-
}
|
|
497
|
-
| {
|
|
498
|
-
[k: string]: unknown;
|
|
499
|
-
}
|
|
500
|
-
| {
|
|
501
|
-
[k: string]: unknown;
|
|
502
|
-
}
|
|
503
|
-
| {
|
|
504
|
-
[k: string]: unknown;
|
|
505
|
-
}
|
|
506
|
-
| {
|
|
507
|
-
[k: string]: unknown;
|
|
508
|
-
}
|
|
509
|
-
| {
|
|
510
|
-
[k: string]: unknown;
|
|
511
|
-
}
|
|
512
|
-
| {
|
|
513
|
-
[k: string]: unknown;
|
|
514
|
-
}
|
|
515
|
-
| {
|
|
516
|
-
[k: string]: unknown;
|
|
517
|
-
}
|
|
518
|
-
| {
|
|
519
|
-
[k: string]: unknown;
|
|
520
|
-
}
|
|
521
|
-
| {
|
|
522
|
-
[k: string]: unknown;
|
|
523
|
-
}
|
|
524
|
-
| {
|
|
525
|
-
[k: string]: unknown;
|
|
489
|
+
[k: string]: unknown | undefined;
|
|
526
490
|
}
|
|
527
491
|
) &
|
|
528
492
|
string)[];
|
|
@@ -618,14 +582,14 @@ export interface CompilerOptions {
|
|
|
618
582
|
* Opt a project out of multi-project reference checking when editing.
|
|
619
583
|
*/
|
|
620
584
|
disableSolutionSearching?: boolean;
|
|
621
|
-
[k: string]: unknown;
|
|
585
|
+
[k: string]: unknown | undefined;
|
|
622
586
|
}
|
|
623
587
|
export interface CompileOnSaveDefinition {
|
|
624
588
|
/**
|
|
625
589
|
* Enable Compile-on-Save for this project.
|
|
626
590
|
*/
|
|
627
591
|
compileOnSave?: boolean;
|
|
628
|
-
[k: string]: unknown;
|
|
592
|
+
[k: string]: unknown | undefined;
|
|
629
593
|
}
|
|
630
594
|
export interface TypeAcquisitionDefinition {
|
|
631
595
|
/**
|
|
@@ -644,16 +608,16 @@ export interface TypeAcquisitionDefinition {
|
|
|
644
608
|
* Specifies a list of type declarations to be excluded from auto type acquisition. Ex. ["jquery", "lodash"]
|
|
645
609
|
*/
|
|
646
610
|
exclude?: string[];
|
|
647
|
-
[k: string]: unknown;
|
|
611
|
+
[k: string]: unknown | undefined;
|
|
648
612
|
};
|
|
649
|
-
[k: string]: unknown;
|
|
613
|
+
[k: string]: unknown | undefined;
|
|
650
614
|
}
|
|
651
615
|
export interface ExtendsDefinition {
|
|
652
616
|
/**
|
|
653
617
|
* Path to base configuration file to inherit from. Requires TypeScript version 2.1 or later.
|
|
654
618
|
*/
|
|
655
619
|
extends?: string;
|
|
656
|
-
[k: string]: unknown;
|
|
620
|
+
[k: string]: unknown | undefined;
|
|
657
621
|
}
|
|
658
622
|
export interface WatchOptionsDefinition {
|
|
659
623
|
/**
|
|
@@ -688,9 +652,9 @@ export interface WatchOptionsDefinition {
|
|
|
688
652
|
* Remove a list of directories from the watch process.
|
|
689
653
|
*/
|
|
690
654
|
excludeDirectories?: string[];
|
|
691
|
-
[k: string]: unknown;
|
|
655
|
+
[k: string]: unknown | undefined;
|
|
692
656
|
};
|
|
693
|
-
[k: string]: unknown;
|
|
657
|
+
[k: string]: unknown | undefined;
|
|
694
658
|
}
|
|
695
659
|
export interface BuildOptionsDefinition {
|
|
696
660
|
buildOptions?: {
|
|
@@ -718,9 +682,9 @@ export interface BuildOptionsDefinition {
|
|
|
718
682
|
* Log paths used during the `moduleResolution` process.
|
|
719
683
|
*/
|
|
720
684
|
traceResolution?: boolean;
|
|
721
|
-
[k: string]: unknown;
|
|
685
|
+
[k: string]: unknown | undefined;
|
|
722
686
|
};
|
|
723
|
-
[k: string]: unknown;
|
|
687
|
+
[k: string]: unknown | undefined;
|
|
724
688
|
}
|
|
725
689
|
export interface TsNodeDefinition {
|
|
726
690
|
/**
|
|
@@ -848,7 +812,7 @@ export interface TsNodeDefinition {
|
|
|
848
812
|
| [
|
|
849
813
|
string,
|
|
850
814
|
{
|
|
851
|
-
[k: string]: unknown;
|
|
815
|
+
[k: string]: unknown | undefined;
|
|
852
816
|
}
|
|
853
817
|
]
|
|
854
818
|
| string;
|
|
@@ -856,9 +820,9 @@ export interface TsNodeDefinition {
|
|
|
856
820
|
* **DEPRECATED** Specify type-check is enabled (e.g. `transpileOnly == false`).
|
|
857
821
|
*/
|
|
858
822
|
typeCheck?: boolean;
|
|
859
|
-
[k: string]: unknown;
|
|
823
|
+
[k: string]: unknown | undefined;
|
|
860
824
|
};
|
|
861
|
-
[k: string]: unknown;
|
|
825
|
+
[k: string]: unknown | undefined;
|
|
862
826
|
}
|
|
863
827
|
/**
|
|
864
828
|
* Override certain paths to be compiled and executed as CommonJS or ECMAScript modules.
|
|
@@ -876,28 +840,28 @@ export interface TsNodeDefinition {
|
|
|
876
840
|
* tsconfig.json "module" options.
|
|
877
841
|
*/
|
|
878
842
|
export interface TsNodeModuleTypes {
|
|
879
|
-
[k: string]: unknown;
|
|
843
|
+
[k: string]: unknown | undefined;
|
|
880
844
|
}
|
|
881
845
|
export interface FilesDefinition {
|
|
882
846
|
/**
|
|
883
847
|
* 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.
|
|
884
848
|
*/
|
|
885
849
|
files?: string[];
|
|
886
|
-
[k: string]: unknown;
|
|
850
|
+
[k: string]: unknown | undefined;
|
|
887
851
|
}
|
|
888
852
|
export interface ExcludeDefinition {
|
|
889
853
|
/**
|
|
890
854
|
* 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. Glob patterns require TypeScript version 2.0 or later.
|
|
891
855
|
*/
|
|
892
856
|
exclude?: string[];
|
|
893
|
-
[k: string]: unknown;
|
|
857
|
+
[k: string]: unknown | undefined;
|
|
894
858
|
}
|
|
895
859
|
export interface IncludeDefinition {
|
|
896
860
|
/**
|
|
897
861
|
* Specifies a list of glob patterns that match files to be included in compilation. 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'. Requires TypeScript version 2.0 or later.
|
|
898
862
|
*/
|
|
899
863
|
include?: string[];
|
|
900
|
-
[k: string]: unknown;
|
|
864
|
+
[k: string]: unknown | undefined;
|
|
901
865
|
}
|
|
902
866
|
export interface ReferencesDefinition {
|
|
903
867
|
/**
|
|
@@ -908,7 +872,7 @@ export interface ReferencesDefinition {
|
|
|
908
872
|
* Path to referenced tsconfig or to folder containing tsconfig.
|
|
909
873
|
*/
|
|
910
874
|
path?: string;
|
|
911
|
-
[k: string]: unknown;
|
|
875
|
+
[k: string]: unknown | undefined;
|
|
912
876
|
}[];
|
|
913
|
-
[k: string]: unknown;
|
|
877
|
+
[k: string]: unknown | undefined;
|
|
914
878
|
}
|
package/package.json
CHANGED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
"name": "@schemastore/tsconfig",
|
|
8
8
|
"repository": "https://github.com/ffflorian/schemastore-updater/tree/main/schemas/tsconfig",
|
|
9
9
|
"scripts": {},
|
|
10
|
-
"
|
|
10
|
+
"typeScriptVersion": "2.2",
|
|
11
11
|
"types": "index.d.ts",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
}
|
|
12
|
+
"typesPublisherContentHash": "bfb220d9f77c44cb45e277c581228f8c1d2ef71e280580877dcaf67442baa05e",
|
|
13
|
+
"version": "0.0.12"
|
|
14
|
+
}
|