aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/utils/utils.ts
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-06-08 03:44:22 +0800
committerGitHub <noreply@github.com>2018-06-08 03:44:22 +0800
commit9bc6ebde4e4425799ed3ddfb50495029865e3ae8 (patch)
treefe15c8c1abbe77d5e10914ae509b653295862fc6 /packages/react-docs/src/utils/utils.ts
parent96b31f39749fb32bd89978245c79aa637791336c (diff)
parent011f14d1155fd3f61e53aaa16681afd5c9c9f892 (diff)
downloaddexon-0x-contracts-9bc6ebde4e4425799ed3ddfb50495029865e3ae8.tar
dexon-0x-contracts-9bc6ebde4e4425799ed3ddfb50495029865e3ae8.tar.gz
dexon-0x-contracts-9bc6ebde4e4425799ed3ddfb50495029865e3ae8.tar.bz2
dexon-0x-contracts-9bc6ebde4e4425799ed3ddfb50495029865e3ae8.tar.lz
dexon-0x-contracts-9bc6ebde4e4425799ed3ddfb50495029865e3ae8.tar.xz
dexon-0x-contracts-9bc6ebde4e4425799ed3ddfb50495029865e3ae8.tar.zst
dexon-0x-contracts-9bc6ebde4e4425799ed3ddfb50495029865e3ae8.zip
Merge pull request #671 from 0xProject/refactor/move-spawn-switch-to-utils
Move spawnSwitchErr to @0xproject/utils
Diffstat (limited to 'packages/react-docs/src/utils/utils.ts')
-rw-r--r--packages/react-docs/src/utils/utils.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/packages/react-docs/src/utils/utils.ts b/packages/react-docs/src/utils/utils.ts
deleted file mode 100644
index e3dd1fc62..000000000
--- a/packages/react-docs/src/utils/utils.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-export const utils = {
- spawnSwitchErr(name: string, value: any): Error {
- return new Error(`Unexpected switch value: ${value} encountered for ${name}`);
- },
-};