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

1.0.3 • Public • Published

Installation

npm install --save @types/use-combined-reducers

Summary

This package contains type definitions for use-combined-reducers (https://github.com/the-road-to-learn-react/use-combined-reducers#readme).

Details

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

index.d.ts

import * as React from "react";

export default function useCombinedReducers<T, A>(
    combinedReducers: Record<keyof T, [T[keyof T], React.Dispatch<A>]>,
): [T, (action: A) => void];

Additional Details

  • Last updated: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: @types/react

Credits

These definitions were written by kwdowik.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/use-combined-reducers

Weekly Downloads

31

Version

1.0.3

License

MIT

Unpacked Size

3.1 kB

Total Files

5

Last publish

Collaborators

  • types