mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-26 11:12:19 +08:00
Merge pull request #3745 from jayoungers/patch-1
ICacheObject.put and IAnimateService.addClass Return Types
This commit is contained in:
Vendored
+2
-2
@@ -1024,7 +1024,7 @@ declare module ng {
|
||||
// Not garanteed to have, since it's a non-mandatory option
|
||||
//capacity: number;
|
||||
};
|
||||
put(key: string, value?: any): void;
|
||||
put<T>(key: string, value?: T): T;
|
||||
get(key: string): any;
|
||||
remove(key: string): void;
|
||||
removeAll(): void;
|
||||
@@ -1501,7 +1501,7 @@ declare module ng {
|
||||
// see http://docs.angularjs.org/api/ng.$animate
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
interface IAnimateService {
|
||||
addClass(element: JQuery, className: string, done?: Function): void;
|
||||
addClass(element: JQuery, className: string, done?: Function): IPromise<any>;
|
||||
enter(element: JQuery, parent: JQuery, after: JQuery, done?: Function): void;
|
||||
leave(element: JQuery, done?: Function): void;
|
||||
move(element: JQuery, parent: JQuery, after: JQuery, done?: Function): void;
|
||||
|
||||
Reference in New Issue
Block a user