Skip to content

Commit 7e15f42

Browse files
committed
Reorder blocks
1 parent f8a84dc commit 7e15f42

3 files changed

Lines changed: 19 additions & 21 deletions

File tree

‎apps/api-extractor/src/api/IExtractorConfig.ts‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,12 @@ export interface IExtractorConfig {
318318
*/
319319
dtsRollup?: IExtractorDtsRollupConfig;
320320

321+
/**
322+
* {@inheritdoc IExtractorTsdocMetadataConfig}
323+
* @beta
324+
*/
325+
tsdocMetadata?: IExtractorTsdocMetadataConfig;
326+
321327
/**
322328
* This option causes the typechecker to be invoked with the --skipLibCheck option. This option is not
323329
* recommended and may cause API Extractor to produce incomplete or incorrect declarations, but it
@@ -337,10 +343,4 @@ export interface IExtractorConfig {
337343
* to prevent spurious diffs in output files tracked for tests.
338344
*/
339345
testMode?: boolean;
340-
341-
/**
342-
* {@inheritdoc IExtractorTsdocMetadataConfig}
343-
* @beta
344-
*/
345-
tsdocMetadata?: IExtractorTsdocMetadataConfig;
346346
}

‎apps/api-extractor/src/schemas/api-extractor-defaults.json‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,11 @@
3737
"mainDtsRollupPath": ""
3838
},
3939

40-
"skipLibCheck": false,
41-
42-
"testMode": false
43-
},
44-
4540
"tsdocMetadata": {
4641
"enabled": true,
4742
"tsdocMetadataPath": ""
48-
}
43+
},
44+
45+
"skipLibCheck": false,
46+
"testMode": false
4947
}

‎apps/api-extractor/src/schemas/api-extractor.schema.json‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -166,15 +166,6 @@
166166
"additionalProperties": false
167167
},
168168

169-
"skipLibCheck": {
170-
"description": "This option causes the typechecker to be invoked with the --skipLibCheck option. This option is not recommended and may cause API Extractor to produce incomplete or incorrect declarations, but it may be required when dependencies contain declarations that are incompatible with the TypeScript engine that API Extractor uses for its analysis. If this option is used, it is strongly recommended that broken dependencies be fixed or upgraded.",
171-
"type": "boolean"
172-
},
173-
"testMode": {
174-
"description": "Set to true invoking API Extractor's test harness. When \"testMode\" is true, the \"toolVersion\" field in the .api.json file is assigned an empty string to prevent spurious diffs in output files tracked for tests.",
175-
"type": "boolean"
176-
},
177-
178169
"tsdocMetadata": {
179170
"description": "Configures how the TSDoc metadata file will be generated",
180171
"type": "object",
@@ -190,6 +181,15 @@
190181
},
191182
"required": [ "enabled" ],
192183
"additionalProperties": false
184+
},
185+
186+
"skipLibCheck": {
187+
"description": "This option causes the typechecker to be invoked with the --skipLibCheck option. This option is not recommended and may cause API Extractor to produce incomplete or incorrect declarations, but it may be required when dependencies contain declarations that are incompatible with the TypeScript engine that API Extractor uses for its analysis. If this option is used, it is strongly recommended that broken dependencies be fixed or upgraded.",
188+
"type": "boolean"
189+
},
190+
"testMode": {
191+
"description": "Set to true invoking API Extractor's test harness. When \"testMode\" is true, the \"toolVersion\" field in the .api.json file is assigned an empty string to prevent spurious diffs in output files tracked for tests.",
192+
"type": "boolean"
193193
}
194194
},
195195
"required": [ "compiler", "project" ],

0 commit comments

Comments
 (0)