DefinitelyTyped/angular.throttle/angular.throttle.d.ts
Ryan Cavanaugh 9300d8ac49 Zero errors!
2016-05-09 11:02:48 -07:00

13 lines
454 B
TypeScript

// Type definitions for angular.throttle
// Project: https://github.com/BaggersIO/angular.throttle
// Definitions by: Stefan Steinhart <https://github.com/reppners>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../angularjs/angularjs.d.ts" />
declare namespace angular {
interface IAngularStatic {
throttle:( fn:Function, throttle:number, options?:{leading?:boolean; trailing?:boolean;} ) => Function;
}
}