import { CommonModule } from '@angular/common' ; import { NgModule , ModuleWithProviders , } from '@angular/core' ; import { DaffProductDriver } from '@daffodil/product/driver' ; import { DaffShopifyProductService } from './product.service' ; /**
 * A module that provides the  DaffProductDriver as the  DaffShopifyProductService .
  @ NgModule ( { imports : [ CommonModule , ] , } ) export class DaffProductShopifyDriverModule { static forRoot ( ) { return { ngModule : DaffProductShopifyDriverModule , providers : [ { provide : DaffProductDriver , useExisting : DaffShopifyProductService , } , ] , } ; } }