mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Add typings for redux-debounced.
This commit is contained in:
@@ -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());
|
||||
Vendored
+11
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user