ng-shopping-cart
Version:
An Angular component library to create shopping carts
11 lines (10 loc) • 530 B
TypeScript
import { CartItem } from '../classes/cart-item';
import { BrowserStorageCartService } from './browser-storage-cart.service';
import { BrowserStorageServiceConfiguration } from '../interfaces/browser-storage-service-configuration';
/**
* An implementation of the cart service using sessionStorage to store items
* @order 4
*/
export declare class SessionStorageCartService<T extends CartItem> extends BrowserStorageCartService<T> {
constructor(itemClass: any, configuration: BrowserStorageServiceConfiguration);
}