aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-07-08 16:37:22 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-07-08 16:37:22 +0800
commitef03d1ae13a3a1ceb56ff2a0682ce909e50d3bf6 (patch)
tree05325f89d53d2e103260b2aa1310e9c143bb764b /packages
parentd22cff09765dd0f886f8933d2f7d3d53515c6beb (diff)
downloaddexon-sol-tools-ef03d1ae13a3a1ceb56ff2a0682ce909e50d3bf6.tar.gz
dexon-sol-tools-ef03d1ae13a3a1ceb56ff2a0682ce909e50d3bf6.tar.zst
dexon-sol-tools-ef03d1ae13a3a1ceb56ff2a0682ce909e50d3bf6.zip
Give environment enums string values
Diffstat (limited to 'packages')
-rw-r--r--packages/website/ts/types.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/website/ts/types.ts b/packages/website/ts/types.ts
index 27b219682..e8dc694f6 100644
--- a/packages/website/ts/types.ts
+++ b/packages/website/ts/types.ts
@@ -243,8 +243,8 @@ export enum BlockchainCallErrs {
}
export enum Environments {
- DEVELOPMENT,
- PRODUCTION,
+ DEVELOPMENT = 'DEVELOPMENT',
+ PRODUCTION = 'PRODUCTION',
}
export type ContractInstance = any; // TODO: add type definition for Contract