Skip to content

Commit dfa78fb

Browse files
authored
Fix syntax error in additionalTypes case statement
1 parent 4a8bb76 commit dfa78fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/build/patches.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ function handleParam(node: Node) {
268268

269269
for (const child of node.children) {
270270
switch (child.name) {
271-
case: "additionalTypes") {
271+
case "additionalTypes": {
272272
if (additionalTypes) {
273273
throw new Error("Unexpected multiple additionalTypes node");
274274
}
@@ -289,7 +289,7 @@ function handleParam(node: Node) {
289289
c.properties?.overrideType,
290290
),
291291
additionalTypes,
292-
}
292+
};
293293
}
294294

295295
/**

0 commit comments

Comments
 (0)