UNPKG

489 BTypeScriptView Raw
1import { ModuleWithProviders } from '@angular/core';
2import { CookieOptions } from './cookie.model';
3export declare class CookieModule {
4 /**
5 * Use this method in your root module to provide the CookieService
6 */
7 static forRoot(options?: CookieOptions): ModuleWithProviders<CookieModule>;
8 /**
9 * Use this method in your other (non root) modules to import the directive/pipe
10 */
11 static forChild(options?: CookieOptions): ModuleWithProviders<CookieModule>;
12}