Skip to content

Commit

Permalink
fix(rxjs): typed Subject to avoid argument error
Browse files Browse the repository at this point in the history
  • Loading branch information
kKen94 committed Dec 10, 2021
1 parent 90b9eca commit 86d8b1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/lib/src/lib/ngx-progress.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { BarService } from './bar/bar.service';

@Injectable({ providedIn: 'root' })
export class NgxProgressService {
private readonly endEmitter = new Subject();
private readonly startEmitter = new Subject();
private readonly endEmitter = new Subject<void>();
private readonly startEmitter = new Subject<void>();

/**
* Tells if bar is enabled or not
Expand Down

0 comments on commit 86d8b1d

Please sign in to comment.