Skip to content

Commit 98b4177

Browse files
committed
Merge pull request DefinitelyTyped#6916 from egeland/fix-missing-opts
Fix: IIntervalService missing optional function arguments
2 parents 87d9fa6 + c1f48f0 commit 98b4177

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

angularjs/angular.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ declare module angular {
615615
// see http://docs.angularjs.org/api/ng.$interval
616616
///////////////////////////////////////////////////////////////////////////
617617
interface IIntervalService {
618-
(func: Function, delay: number, count?: number, invokeApply?: boolean): IPromise<any>;
618+
(func: Function, delay: number, count?: number, invokeApply?: boolean, ...args: any[]): IPromise<any>;
619619
cancel(promise: IPromise<any>): boolean;
620620
}
621621

0 commit comments

Comments
 (0)