@ngxs/store 3.7.4-dev.master-38cbcac → 3.7.4-dev.master-a63a5af

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2134,12 +2134,14 @@
2134
2134
  */
2135
2135
  function (action) {
2136
2136
  var _this = this;
2137
- /** @type {?} */
2138
- var type = getActionTypeFromInstance(action);
2139
- if (!type) {
2137
+ if (typeof ngDevMode === 'undefined' || ngDevMode) {
2140
2138
  /** @type {?} */
2141
- var error = new Error("This action doesn't have a type property: " + action.constructor.name);
2142
- return rxjs.throwError(error);
2139
+ var type = getActionTypeFromInstance(action);
2140
+ if (!type) {
2141
+ /** @type {?} */
2142
+ var error = new Error("This action doesn't have a type property: " + action.constructor.name);
2143
+ return rxjs.throwError(error);
2144
+ }
2143
2145
  }
2144
2146
  /** @type {?} */
2145
2147
  var prevState = this._stateStream.getValue();