aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/utils/utils.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/react-docs/src/utils/utils.ts')
-rw-r--r--packages/react-docs/src/utils/utils.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/react-docs/src/utils/utils.ts b/packages/react-docs/src/utils/utils.ts
index f8c1fefff..e3dd1fc62 100644
--- a/packages/react-docs/src/utils/utils.ts
+++ b/packages/react-docs/src/utils/utils.ts
@@ -1,5 +1,5 @@
export const utils = {
- spawnSwitchErr(name: string, value: any) {
+ spawnSwitchErr(name: string, value: any): Error {
return new Error(`Unexpected switch value: ${value} encountered for ${name}`);
},
};