Merge pull request #8878 from seansfkelley/add-redux-debounced

Add typings for redux-debounced.
This commit is contained in:
Horiuchi_H
2016-04-11 17:56:50 +09:00
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;
}