Skip to content

Commit 58beaa0

Browse files
committed
Minor changes to octogonz's changes
1 parent 1838446 commit 58beaa0

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

apps/api-extractor/src/api/ExtractorMessageId.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const enum ExtractorMessageId {
101101
* "Incorrect file type; API Extractor expects to analyze compiler outputs with the .d.ts file extension.
102102
* Troubleshooting tips: `https://api-extractor.com/link/dts-error`"
103103
*/
104-
NotDtsFileExtension = 'ae-wrong-input-file-type'
104+
WrongInputFileType = 'ae-wrong-input-file-type'
105105
}
106106

107107
export const allExtractorMessageIds: Set<string> = new Set<string>([

apps/api-extractor/src/collector/Collector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ export class Collector {
212212
);
213213
if (badSourceFile) {
214214
this.messageRouter.addAnalyzerIssueForPosition(
215-
ExtractorMessageId.NotDtsFileExtension,
215+
ExtractorMessageId.WrongInputFileType,
216216
'Incorrect file type; API Extractor expects to analyze compiler outputs with the .d.ts file extension. ' +
217217
'Troubleshooting tips: https://api-extractor.com/link/dts-error',
218218
badSourceFile,

common/changes/@microsoft/api-extractor/better-ts-file-error_2022-04-10-00-42.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
{
44
"packageName": "@microsoft/api-extractor",
55
"comment": "Throw an error early if API Extractor will attempt to process non-.d.ts files",
6-
"type": "patch"
6+
"type": "minor"
77
}
88
],
99
"packageName": "@microsoft/api-extractor"

common/reviews/api/api-extractor.api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,13 +135,13 @@ export const enum ExtractorMessageId {
135135
MisplacedPackageTag = "ae-misplaced-package-tag",
136136
MissingGetter = "ae-missing-getter",
137137
MissingReleaseTag = "ae-missing-release-tag",
138-
NotDtsFileExtension = "ae-wrong-input-file-type",
139138
PreapprovedBadReleaseTag = "ae-preapproved-bad-release-tag",
140139
PreapprovedUnsupportedType = "ae-preapproved-unsupported-type",
141140
SetterWithDocs = "ae-setter-with-docs",
142141
UnresolvedInheritDocBase = "ae-unresolved-inheritdoc-base",
143142
UnresolvedInheritDocReference = "ae-unresolved-inheritdoc-reference",
144-
UnresolvedLink = "ae-unresolved-link"
143+
UnresolvedLink = "ae-unresolved-link",
144+
WrongInputFileType = "ae-wrong-input-file-type",
145145
}
146146

147147
// @public

0 commit comments

Comments
 (0)