UNPKG

ng-shopping-cart

Version:

An Angular component library to create shopping carts

14 lines (13 loc) 621 B
import { ModuleWithProviders } from '@angular/core'; import { CartModuleOptions } from './interfaces/cart-module-options'; /** * The main exported library module. It includes `forRoot` and `forChild` static methods to support angular feature modules and singleton * services. * * @note {danger} Only the `forRoot` method will configure providers for you. If you use the module without it you must configure the * library providers yourself. */ export declare class ShoppingCartModule { static forRoot(options?: CartModuleOptions): ModuleWithProviders; static forChild(): ModuleWithProviders; }