mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Fix: IIntervalService missing optional function arguments
IIntervalService can take arguments to be passed to the function (`[Pass]`): > $interval(fn, delay, [count], [invokeApply], [Pass]); This adds this to the definition.
This commit is contained in:
Vendored
+1
-1
@@ -615,7 +615,7 @@ declare module angular {
|
||||
// see http://docs.angularjs.org/api/ng.$interval
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
interface IIntervalService {
|
||||
(func: Function, delay: number, count?: number, invokeApply?: boolean): IPromise<any>;
|
||||
(func: Function, delay: number, count?: number, invokeApply?: boolean, ...args: any[]): IPromise<any>;
|
||||
cancel(promise: IPromise<any>): boolean;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user