Skip to content

Commit 6ed028b

Browse files
authored
Update patches.ts
1 parent bed7ab1 commit 6ed028b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/build/patches.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,7 @@ function handleMethod(child: Node): Partial<Method> {
252252
: { type: string(child.properties?.returns) }),
253253
},
254254
];
255-
return {
256-
...optionalMember("name", "string", name),
257-
signature,
258-
};
255+
return { name, signature };
259256
}
260257

261258
/**

0 commit comments

Comments
 (0)