Skip to content

Commit 8588188

Browse files
committed
-
1 parent 85d2353 commit 8588188

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/build/patches.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,6 @@ function handleProperty(child: Node): Partial<Property> {
234234
/**
235235
* Handles a child node of type "method" and adds it to the method object.
236236
* @param child The child node to handle.
237-
* @param name Optional name for the method.
238237
*/
239238
function handleMethod(child: Node): Partial<Method> {
240239
const name = string(child.values[0]);
@@ -271,10 +270,7 @@ function handleMethod(child: Node): Partial<Method> {
271270
: { type: string(child.properties?.returns) }),
272271
},
273272
];
274-
return {
275-
name,
276-
signature,
277-
};
273+
return { name, signature };
278274
}
279275

280276
/**

0 commit comments

Comments
 (0)