chore: Fix comment typo
Signed-off-by: Adam Harvey <33203301+adamdmharvey@users.noreply.github.com>
This commit is contained in:
@@ -145,7 +145,7 @@ ApiReportGenerator.generateReviewFileContent =
|
||||
if (!localName) {
|
||||
// Sometimes the symbol name is suffixed with a number to disambiguate,
|
||||
// e.g. "Props_14" instead of "Props" if there are multiple Props interfaces
|
||||
// so we tyry to strip that suffix and look up the symbol again.
|
||||
// so we try to strip that suffix and look up the symbol again.
|
||||
const [, trimmedSymbolName] = symbolName.match(/(.*)_\d+/) || [];
|
||||
localName = (sourceFile as any).identifiers?.get(trimmedSymbolName);
|
||||
}
|
||||
@@ -1101,6 +1101,7 @@ export async function buildDocs({
|
||||
switch (hierarchyItem.kind) {
|
||||
case ApiItemKind.Model:
|
||||
case ApiItemKind.EntryPoint:
|
||||
case ApiItemKind.None:
|
||||
// We don't show the model as part of the breadcrumb because it is the root-level container.
|
||||
// We don't show the entry point because today API Extractor doesn't support multiple entry points;
|
||||
// this may change in the future.
|
||||
|
||||
Reference in New Issue
Block a user