We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62ac034 commit 6eb27d7Copy full SHA for 6eb27d7
src/components/ApiDocs/display/ParameterType.tsx
@@ -20,6 +20,9 @@ interface typeDataType {
20
name: string;
21
};
22
signatures?: number[];
23
+ targetType?: {
24
+ name: string;
25
+ };
26
}
27
interface ParameterComponentType {
28
typeData: typeDataType;
@@ -86,6 +89,8 @@ export const ParameterType = ({ typeData }: ParameterComponentType) => {
86
89
return `"${typeData.value}"`;
87
90
case 'intrinsic':
88
91
return typeData.name;
92
+ case 'predicate':
93
+ return typeData.targetType?.name;
94
case 'array':
95
return <ArrayType data={typeData.elementType} />;
96
case 'function':
0 commit comments