From 1b46f40fcd41ef79d6bb63be736a287a1215e832 Mon Sep 17 00:00:00 2001 From: Lars Gyrup Brink Nielsen Date: Sun, 21 Aug 2022 20:20:29 +0200 Subject: [PATCH] fix: the `takeUntil` operator must be last --- content/blog/angular-extend-class/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/blog/angular-extend-class/index.md b/content/blog/angular-extend-class/index.md index e7ba1c76..04171001 100644 --- a/content/blog/angular-extend-class/index.md +++ b/content/blog/angular-extend-class/index.md @@ -959,11 +959,11 @@ class WindowSizeService { height: window.innerHeight, width: window.innerWidth, })), - takeUntil(this.destroy$), startWith({ height: window.innerHeight, width: window.innerWidth, - }) + }), + takeUntil(this.destroy$) ); }