Skip to content

Commit

Permalink
style(analytics): fix trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
damienwebdev committed Feb 5, 2024
1 parent 0d3c2d3 commit e16183d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions libs/analytics/src/lib/analytics-tracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,19 @@ export type DaffAnalyticsTrackerFunction = (event: DaffAnalyticsEvent) => Observ

/**
* The tracker type.
*
*
* Trackers can either be classes:
*
*
* ```ts
* export class MyTracker implements DaffAnalyticsTracker {
* track(event: DaffAnalyticsEvent) {
* return of(true);
* }
* }
* ```
*
*
* or functions:
*
*
* ```ts
* export const trackThis = (event: DaffAnalyticsEvent) => {
* return of(true);
Expand Down
4 changes: 2 additions & 2 deletions libs/analytics/src/lib/analytics.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import { DaffAnalyticsEffects } from './effects/analytics-effects';
import { daffAnalyticsServiceProvider } from './provider';

/**
* Sets up providers necessary to enable analytics tracking functionality for the application.
* Sets up providers necessary to enable analytics tracking functionality for the application.
* Allows to configure a set of trackers as well as additional configuration details like "analyzeableActions".
*
*
* See {@link DaffAnalyticsConfigInterface} for further configuration options.
* See {@link DaffAnalyticsTracker} for tracker documentation.
*/
Expand Down
2 changes: 1 addition & 1 deletion libs/analytics/src/lib/effects/analytics-effects.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export class DaffAnalyticsEffects {
) {}

/**
* Tracks events in external services. Importantly, this allows for there to
* Tracks events in external services. Importantly, this allows for there to
* be multiple analytics services that subscribe to the same event.
*/
trackAnalyticsEvent$ = createEffect(() => this.actions$.pipe(
Expand Down
2 changes: 1 addition & 1 deletion libs/analytics/src/lib/event/event.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* A generalized event that happens to collide nicely with the Action interface
* A generalized event that happens to collide nicely with the Action interface
* of packages like Redux and @ngrx/store.
*/
export interface DaffAnalyticsEvent {
Expand Down

0 comments on commit e16183d

Please sign in to comment.