Merge pull request #421 from LayZeeDK/LayZeeDK/fix/angular-extend-class/correct-operator-order

fix: the `takeUntil` operator must be last
This commit is contained in:
Corbin Crutchley
2022-08-22 07:19:04 -07:00
committed by GitHub

View File

@@ -959,11 +959,11 @@ class WindowSizeService {
height: window.innerHeight, height: window.innerHeight,
width: window.innerWidth, width: window.innerWidth,
})), })),
takeUntil(this.destroy$),
startWith({ startWith({
height: window.innerHeight, height: window.innerHeight,
width: window.innerWidth, width: window.innerWidth,
}) }),
takeUntil(this.destroy$)
); );
} }