mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-19 14:10:30 +00:00
WIP WIP WIP WIP WIP WIP: Remove trailing newlines WIP WIP WIP WIP WIP WIP WIP WIP: All tests pass WIP WIP WIP
15 lines
474 B
TypeScript
15 lines
474 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 types="angular" />
|
|
|
|
import * as angular from 'angular';
|
|
|
|
declare module 'angular' {
|
|
interface IAngularStatic {
|
|
throttle: (fn: Function, throttle: number, options?: {leading?: boolean; trailing?: boolean}) => Function;
|
|
}
|
|
}
|