Skip to content

Commit ea16eb1

Browse files
committed
filter on param
1 parent 333fb26 commit ea16eb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/build/patches.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ function handleMethod(child: Node): Partial<Method> {
179179
const nullable = child.properties.nullable as boolean;
180180

181181
const params = child.children
182-
.filter((c) => c.values[0] != "sequence")
182+
.filter((c) => c.properties.type)
183183
.map((c) => ({
184184
name: c.values[0] as string,
185185
type: c.properties.type as string,

0 commit comments

Comments
 (0)