Skip to content

Commit

Permalink
feat(product): add injection token types (#1229)
Browse files Browse the repository at this point in the history
  • Loading branch information
griest024 authored and damienwebdev committed Jan 20, 2021
1 parent 043a8db commit 8e0e776
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { InjectionToken } from '@angular/core';

import { DaffProductServiceInterface } from '../interfaces/product-service.interface';

/**
* Injection token that serves as a placeholder for any service that implements the DaffProductServiceInterface.
*/
export const DaffProductDriver =
new InjectionToken<DaffProductServiceInterface<any>>('DaffProductDriver');
export const DaffProductDriver =
new InjectionToken<DaffProductServiceInterface>('DaffProductDriver');

0 comments on commit 8e0e776

Please sign in to comment.