Skip to content

Commit

Permalink
feat(geography): 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 f8c313b commit 08010e9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { Observable } from 'rxjs';

import { DaffCountry } from '@daffodil/geography';

export const DaffGeographyDriver = new InjectionToken('DaffGeographyDriver');
export const DaffGeographyDriver = new InjectionToken<DaffGeographyServiceInterface>('DaffGeographyDriver');

export interface DaffGeographyServiceInterface<T extends DaffCountry> {
export interface DaffGeographyServiceInterface<T extends DaffCountry = DaffCountry> {
/**
* Retrieves the list of countries available to the given store.
*/
Expand Down

0 comments on commit 08010e9

Please sign in to comment.