mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
31 lines
1.1 KiB
TypeScript
31 lines
1.1 KiB
TypeScript
// Type definitions for Angular JS 1.0 (ngCookies module)
|
|
// Project: http://angularjs.org
|
|
// Definitions by: Diego Vilar <http://github.com/diegovilar>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
|
|
|
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
// ngCookies module (angular-cookies.js)
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
declare namespace ng.cookies {
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
// CookieService
|
|
// see http://docs.angularjs.org/api/ngCookies.$cookies
|
|
///////////////////////////////////////////////////////////////////////////
|
|
interface ICookiesService {}
|
|
|
|
///////////////////////////////////////////////////////////////////////////
|
|
// CookieStoreService
|
|
// see http://docs.angularjs.org/api/ngCookies.$cookieStore
|
|
///////////////////////////////////////////////////////////////////////////
|
|
interface ICookieStoreService {
|
|
get(key: string): any;
|
|
put(key: string, value: any): void;
|
|
remove(key: string): void;
|
|
}
|
|
|
|
}
|