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 c159470 commit 368eb09Copy full SHA for 368eb09
src/metadata/serializeType.ts
@@ -16,7 +16,7 @@ function createVoidZero() {
16
* @todo Array and Objects spread are not supported.
17
* @todo Rest parameters are not supported.
18
*/
19
-function getTypedNode(param: Parameter): t.Identifier | t.ClassProperty | null {
+function getTypedNode(param: Parameter): t.Identifier | t.ClassProperty | t.ObjectPattern | null {
20
if (param == null) return null;
21
22
if (param.type === 'ClassProperty') return param;
0 commit comments