Skip to content

Commit 881659a

Browse files
committed
fix(docs): dont filter out p.type.type
1 parent 6414d1d commit 881659a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docgen/plugins/documentationjs-data.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function findRelatedTypes(functionSymbol, symbols) {
110110
if(!functionSymbol) return types;
111111

112112
const findParamsTypes = p => {
113-
if (!p || !p.type || !p.type.type) return;
113+
if (!p || !p.type) return;
114114
const currentParamType = p.type.type;
115115
if (currentParamType === 'FunctionType') {
116116
types = [...types, ...findRelatedTypes(p.type, symbols)]

0 commit comments

Comments
 (0)