DefinitelyTyped/types/use-combined-reducers/use-combined-reducers-tests.ts
kwdowik 06484d13df Added type definitions for use-combined-reducers (#38647)
* Added type definitions for use-combined-reducers

* fixed errors

* fixed typo

* deleted typescript version declaration

* defined the same typescript version as react
2019-09-27 09:06:40 -07:00

7 lines
165 B
TypeScript

import useCombinedReducers from 'use-combined-reducers';
useCombinedReducers<{ a: number; b: any }, () => {}>({
a: ['', () => { }],
b: ['', () => { }],
});