We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 891f8dd commit ebab56aCopy full SHA for ebab56a
src/build/patches.ts
@@ -238,7 +238,6 @@ function handleMethod(child: Node): Partial<Method> {
238
const name = string(child.values[0]);
239
240
const typeNode = findTypeNode(child.children, `Property "${name}"`);
241
- if (!typeNode) throw new Error(`Method "${name}" is missing a return type`);
242
const params: { name: string; type: string }[] = [];
243
244
for (const c of child.children) {
0 commit comments