Bug 1505132 - Use spread operator to export types;r=daisuke
authorJulian Descottes <jdescottes@mozilla.com>
Mon, 18 Feb 2019 09:26:28 +0000
changeset 459763 0e6da56d7124ec7604a332e1fa6f45b6fbc34f72
parent 459762 eadeff4ae69495597530a4629638abdbb3277ef2
child 459764 4274148772f96f5450f998247dec7d9e14ffe67e
push id78384
push userjdescottes@mozilla.com
push dateMon, 18 Feb 2019 10:46:45 +0000
treeherderautoland@933c04b2755f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdaisuke
bugs1505132
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1505132 - Use spread operator to export types;r=daisuke Differential Revision: https://phabricator.services.mozilla.com/D18984
devtools/client/aboutdebugging-new/src/types/index.js
--- a/devtools/client/aboutdebugging-new/src/types/index.js
+++ b/devtools/client/aboutdebugging-new/src/types/index.js
@@ -1,16 +1,15 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 "use strict";
 
-const { debugTarget } = require("./debug-target");
-const { runtime, runtimeDetails } = require("./runtime");
-const ui = require("./ui");
+const debugTargetTypes = require("./debug-target");
+const runtimeTypes = require("./runtime");
+const uiTypes = require("./ui");
 
 module.exports = Object.assign({}, {
-  debugTarget,
-  runtime,
-  runtimeDetails,
-  ...ui,
+  ...debugTargetTypes,
+  ...runtimeTypes,
+  ...uiTypes,
 });