Skip to content

Commit b61dbde

Browse files
committed
-
1 parent d7a25a6 commit b61dbde

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/build/patches.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ function handleMethod(child: Node): Partial<Method> {
239239
const name = string(child.values[0]);
240240

241241
let typeNode: Node | undefined;
242-
const params: { name: string; type?: string, overrideType?:string }[] = [];
242+
const params: { name: string; type?: string; overrideType?: string }[] = [];
243243

244244
for (const c of child.children) {
245245
switch (c.name) {
@@ -254,7 +254,11 @@ function handleMethod(child: Node): Partial<Method> {
254254
params.push({
255255
name: string(c.values[0]),
256256
...optionalMember("type", "string", c.properties?.type),
257-
...optionalMember("overrideType", "string", c.properties?.overrideType),
257+
...optionalMember(
258+
"overrideType",
259+
"string",
260+
c.properties?.overrideType,
261+
),
258262
});
259263
break;
260264

0 commit comments

Comments
 (0)