Add typings for redux-debounced.

This commit is contained in:
Sean Kelley
2016-04-06 21:29:23 -07:00
parent 247e8d4840
commit a8a5655d05
2 changed files with 18 additions and 0 deletions
+7
View File
@@ -0,0 +1,7 @@
/// <reference path="../redux/redux.d.ts"/>
/// <reference path="redux-debounced.d.ts"/>
import { applyMiddleware } from 'redux';
import createDebounce from 'redux-debounced';
applyMiddleware(createDebounce());
+11
View File
@@ -0,0 +1,11 @@
// Type definitions for redux-debounced v0.2.0
// Project: https://github.com/ryanseddon/redux-debounced
// Definitions by: Sean Kelley <https://github.com/seansfkelley>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference path="../redux/redux.d.ts" />
declare module "redux-debounced" {
import { Middleware } from 'redux';
export default function createDebounce(): Middleware;
}