WIP: Extract interaction with store into service
authorKai Moritz <kai@juplo.de>
Sun, 5 Jul 2020 11:53:01 +0000 (13:53 +0200)
committerKai Moritz <kai@juplo.de>
Sun, 5 Jul 2020 11:53:01 +0000 (13:53 +0200)
src/app/vorgang.service.ts

index 6d5cca4..ec4025c 100644 (file)
@@ -54,7 +54,7 @@ export class VorgangService {
     this.store.dispatch(reset());
   }
 
-  Observable<number> observe() {
+  observe(): Observable<number> {
     return this.store.pipe(select('vorgang'), map(vorgang => vorgang.counter));
   }