Skip to content

Commit

Permalink
Revert "fix(compodoc): fix missing condition in resolveTypealias, res…
Browse files Browse the repository at this point in the history
…ulting in crash"

This reverts commit 11af03f.
  • Loading branch information
Nxtivision authored Oct 29, 2021
1 parent 11af03f commit 98ab330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/docs/src/frameworks/angular/compodoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ const extractDefaultValue = (property: Property) => {

const resolveTypealias = (compodocType: string): string => {
const compodocJson = getCompodocJson();
const typeAlias = compodocJson?.miscellaneous?.typealiases?.find((x) => x.name === compodocType);
const typeAlias = compodocJson?.miscellaneous.typealiases.find((x) => x.name === compodocType);
return typeAlias ? resolveTypealias(typeAlias.rawtype) : compodocType;
};

Expand Down

0 comments on commit 98ab330

Please sign in to comment.