aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/first-time-state.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/first-time-state.js')
-rw-r--r--app/scripts/first-time-state.js16
1 files changed, 12 insertions, 4 deletions
diff --git a/app/scripts/first-time-state.js b/app/scripts/first-time-state.js
index 3063df627..144534f43 100644
--- a/app/scripts/first-time-state.js
+++ b/app/scripts/first-time-state.js
@@ -2,10 +2,16 @@
const env = process.env.METAMASK_ENV
const METAMASK_DEBUG = process.env.METAMASK_DEBUG
-//
-// The default state of MetaMask
-//
-module.exports = {
+/**
+ * @typedef {Object} FirstTimeState
+ * @property {Object} config Initial configuration parameters
+ * @property {Object} NetworkController Network controller state
+ */
+
+/**
+ * @type {FirstTimeState}
+ */
+const initialState = {
config: {},
NetworkController: {
provider: {
@@ -13,3 +19,5 @@ module.exports = {
},
},
}
+
+module.exports = initialState