Skip to content

Commit f10cf2a

Browse files
SergeyKharchenkosmithad15
authored andcommitted
Fix compatibility issue with RxJS v6 (#59)
1 parent ba3231e commit f10cf2a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/form/source/connect/connect-base.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { Subscription } from 'rxjs';
1212

1313
import { Unsubscribe } from 'redux';
1414

15-
import 'rxjs/add/operator/debounceTime';
15+
import { debounceTime } 'rxjs/operators';
1616

1717
import { FormStore } from '../form-store';
1818
import { State } from '../state';
@@ -71,7 +71,7 @@ export class ConnectBase {
7171

7272
Promise.resolve().then(() => {
7373
this.formSubscription = (<any>this.form.valueChanges)
74-
.debounceTime(0)
74+
.pipe(debounceTime(0))
7575
.subscribe((values: any) => this.publish(values));
7676
});
7777
});

0 commit comments

Comments
 (0)