Skip to content

Commit

Permalink
feat(contact): 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 3fd50a3 commit f8c313b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Observable } from 'rxjs';
import { InjectionToken } from '@angular/core';

export const DaffContactDriver = new InjectionToken('DaffContactDriver');
export const DaffContactDriver = new InjectionToken<DaffContactServiceInterface<any, any>>('DaffContactDriver');
export interface DaffContactServiceInterface<T, V> {
send(payload: T): Observable<V>;
}

0 comments on commit f8c313b

Please sign in to comment.