@firestitch/form 12.4.21 → 12.4.22

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.
@@ -73,7 +73,7 @@ export declare class FsFormDirective implements OnInit, OnDestroy, AfterContentI
73
73
  ngOnChanges(changes: SimpleChanges): void;
74
74
  get hasSubmit(): boolean;
75
75
  clearSubmit(): void;
76
- registerSubmit(submit$: Observable<any>): void;
76
+ registerSubmit(submit$: () => Observable<any>): void;
77
77
  ngAfterContentInit(): void;
78
78
  ngOnDestroy(): void;
79
79
  createSnapshot(): void;
@@ -738,7 +738,7 @@
738
738
  };
739
739
  FsFormDirective.prototype.registerSubmit = function (submit$) {
740
740
  var _this = this;
741
- this._submit$ = function () { return submit$; };
741
+ this._submit$ = submit$;
742
742
  setTimeout(function () {
743
743
  _this._cdRef.markForCheck();
744
744
  });