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 775caf3 commit c159470Copy full SHA for c159470
src/metadata/serializeType.ts
@@ -21,6 +21,7 @@ function getTypedNode(param: Parameter): t.Identifier | t.ClassProperty | null {
21
22
if (param.type === 'ClassProperty') return param;
23
if (param.type === 'Identifier') return param;
24
+ if (param.type === 'ObjectPattern') return param;
25
26
if (param.type === 'AssignmentPattern' && param.left.type === 'Identifier')
27
return param.left;
0 commit comments