Skip to content

Commit

Permalink
feat(paypal): 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 525434f commit 043a8db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { InjectionToken } from '@angular/core';

export const DaffPaypalDriver = new InjectionToken('DaffPaypalDriver');
import { DaffPaypalServiceInterface } from '../interfaces/paypal-service.interface';

export const DaffPaypalDriver = new InjectionToken<DaffPaypalServiceInterface>('DaffPaypalDriver');
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import { InjectionToken } from '@angular/core';

export const DaffPaypalTransformer = new InjectionToken('DaffPaypalTransformer');
import { DaffPaypalTransformerInterface } from '../interfaces/paypal-transformer.interface';

export const DaffPaypalTransformer = new InjectionToken<DaffPaypalTransformerInterface>('DaffPaypalTransformer');

0 comments on commit 043a8db

Please sign in to comment.