Skip to content

Commit

Permalink
fix(docs): dont filter out p.type.type
Browse files Browse the repository at this point in the history
  • Loading branch information
iam4x committed May 2, 2017
1 parent 6414d1d commit 881659a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docgen/plugins/documentationjs-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function findRelatedTypes(functionSymbol, symbols) {
if(!functionSymbol) return types;

const findParamsTypes = p => {
if (!p || !p.type || !p.type.type) return;
if (!p || !p.type) return;
const currentParamType = p.type.type;
if (currentParamType === 'FunctionType') {
types = [...types, ...findRelatedTypes(p.type, symbols)]
Expand Down

0 comments on commit 881659a

Please sign in to comment.