-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(paypal): add injection token types (#1229)
- Loading branch information
1 parent
525434f
commit 043a8db
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
4 changes: 3 additions & 1 deletion
4
libs/paypal/src/drivers/injection-tokens/paypal-driver.token.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); |
4 changes: 3 additions & 1 deletion
4
libs/paypal/src/drivers/injection-tokens/paypal-transformer.token.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); |