UNPKG

typescript-closure-tools

Version:

Command-line tools to convert closure-style JSDoc annotations to typescript, and to convert typescript sources to closure externs files

31 lines (24 loc) 1.2 kB
/// Type definitions for Angular JS 1.2 (ngCookies module) // Project: http://angularjs.org // Definitions by: Diego Vilar <http://github.com/diegovilar> // Definitions: https://github.com/borisyankov/DefinitelyTyped /// <reference path="angular.d.ts" /> /////////////////////////////////////////////////////////////////////////////// // ngCookies module (angular-cookies.js) /////////////////////////////////////////////////////////////////////////////// declare module 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; } }