@types/react-combine-reducers
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Installation

npm install --save @types/react-combine-reducers

Summary

This package contains type definitions for react-combine-reducers (https://github.com/ankita1010/react-combine-reducers#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-combine-reducers.

index.d.ts

import { Reducer, ReducerState } from "react";

declare function combineReducers<R extends Reducer<any, any>>(
    reducers: {
        [K in keyof ReducerState<R>]: [Reducer<ReducerState<R>[K], any>, ReducerState<R>[K]];
    },
): [R, ReducerState<R>];
export = combineReducers;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: @types/react

Credits

These definitions were written by Raphaël Léger.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-combine-reducers

Weekly Downloads

1,519

Version

1.0.3

License

MIT

Unpacked Size

3.32 kB

Total Files

5

Last publish

Collaborators

  • types