Skip to content

Commit

Permalink
fix(PhantomPlatform): added injectable decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
alisahinozcelik committed May 2, 2021
1 parent 6c2d394 commit d9a5505
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { LocationChangeListener, PlatformLocation } from '@angular/common';
import { Injectable } from '@angular/core';
import { minMax } from '@thalesrc/js-utils/math/min-max';
import { noop } from '@thalesrc/js-utils/function/noop';
import { replace } from '@thalesrc/js-utils/array/replace';
Expand All @@ -10,6 +11,7 @@ import { HistoryItem } from './history-item.interface';
*
* A platform location provider class to use Router without manipulation or reading url
*/
@Injectable()
export class PhantomPlatformLocation extends PlatformLocation {
/** History states */
// tslint:disable-next-line:variable-name
Expand Down

0 comments on commit d9a5505

Please sign in to comment.