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 85d2353 commit 8588188Copy full SHA for 8588188
src/build/patches.ts
@@ -234,7 +234,6 @@ function handleProperty(child: Node): Partial<Property> {
234
/**
235
* Handles a child node of type "method" and adds it to the method object.
236
* @param child The child node to handle.
237
- * @param name Optional name for the method.
238
*/
239
function handleMethod(child: Node): Partial<Method> {
240
const name = string(child.values[0]);
@@ -271,10 +270,7 @@ function handleMethod(child: Node): Partial<Method> {
271
270
: { type: string(child.properties?.returns) }),
272
},
273
];
274
- return {
275
- name,
276
- signature,
277
- };
+ return { name, signature };
278
}
279
280
0 commit comments