aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/trpc/lib/search.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/trpc/lib/search.ts b/packages/trpc/lib/search.ts
index e7e6b5f7..74aaf51b 100644
--- a/packages/trpc/lib/search.ts
+++ b/packages/trpc/lib/search.ts
@@ -246,6 +246,7 @@ async function getIds(
return union(vals);
}
default: {
+ const _exhaustiveCheck: never = matcher;
throw new Error("Unknown matcher type");
}
}