graycoreio/daffodil

View on GitHub
libs/paypal/driver/src/config/token.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { createSingleInjectionToken } from '@daffodil/core';

import { DaffPaypalExpressDriverConfig } from './type';

export const {
  token: DAFF_PAYPAL_EXPRESS_DRIVER_CONFIG,
  /**
   * Provider function for {@link DAFF_PAYPAL_EXPRESS_DRIVER_CONFIG}.
   */
  provider: provideDaffPaypalExpressDriverConfig,
} = createSingleInjectionToken<DaffPaypalExpressDriverConfig>('DAFF_PAYPAL_EXPRESS_DRIVER_CONFIG');