File tree 4 files changed +5
-5
lines changed 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ export const enum ExtractorMessageId {
101
101
* "Incorrect file type; API Extractor expects to analyze compiler outputs with the .d.ts file extension.
102
102
* Troubleshooting tips: `https://api-extractor.com/link/dts-error`"
103
103
*/
104
- NotDtsFileExtension = 'ae-wrong-input-file-type'
104
+ WrongInputFileType = 'ae-wrong-input-file-type'
105
105
}
106
106
107
107
export const allExtractorMessageIds : Set < string > = new Set < string > ( [
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ export class Collector {
212
212
) ;
213
213
if ( badSourceFile ) {
214
214
this . messageRouter . addAnalyzerIssueForPosition (
215
- ExtractorMessageId . NotDtsFileExtension ,
215
+ ExtractorMessageId . WrongInputFileType ,
216
216
'Incorrect file type; API Extractor expects to analyze compiler outputs with the .d.ts file extension. ' +
217
217
'Troubleshooting tips: https://api-extractor.com/link/dts-error' ,
218
218
badSourceFile ,
Original file line number Diff line number Diff line change 3
3
{
4
4
"packageName" : " @microsoft/api-extractor" ,
5
5
"comment" : " Throw an error early if API Extractor will attempt to process non-.d.ts files" ,
6
- "type" : " patch "
6
+ "type" : " minor "
7
7
}
8
8
],
9
9
"packageName" : " @microsoft/api-extractor"
Original file line number Diff line number Diff line change @@ -135,13 +135,13 @@ export const enum ExtractorMessageId {
135
135
MisplacedPackageTag = " ae-misplaced-package-tag" ,
136
136
MissingGetter = " ae-missing-getter" ,
137
137
MissingReleaseTag = " ae-missing-release-tag" ,
138
- NotDtsFileExtension = " ae-wrong-input-file-type" ,
139
138
PreapprovedBadReleaseTag = " ae-preapproved-bad-release-tag" ,
140
139
PreapprovedUnsupportedType = " ae-preapproved-unsupported-type" ,
141
140
SetterWithDocs = " ae-setter-with-docs" ,
142
141
UnresolvedInheritDocBase = " ae-unresolved-inheritdoc-base" ,
143
142
UnresolvedInheritDocReference = " ae-unresolved-inheritdoc-reference" ,
144
- UnresolvedLink = " ae-unresolved-link"
143
+ UnresolvedLink = " ae-unresolved-link" ,
144
+ WrongInputFileType = " ae-wrong-input-file-type" ,
145
145
}
146
146
147
147
// @public
You can’t perform that action at this time.
0 commit comments