UNPKG

ng-shopping-cart

Version:

An Angular component library to create shopping carts

8 lines (7 loc) 510 B
import { CartItem } from './classes/cart-item'; import { Provider } from '@angular/core'; import { CartService } from './services/cart.service'; export declare function serviceFactory<T extends CartItem>(serviceType: any, itemClass: any, configuration: any): CartService<T>; export declare function setupService(serviceType: any): Provider; export declare function setItemClass(itemClass: any): Provider; export declare function setServiceConfiguration(serviceType: any, serviceOptions: any): Provider;