Skip to content

nikolayg/redux-common-types-ts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About this module

This module exports Common Typescript types for Redux Actions and Reducers,

Installation:

npm install --save redux-common-types-ts

or

yarn add redux-common-types-ts

What and How

This module exports the following common TypeScript types for Redux Actions and Reducers.

  • APIAction<Payload>
  • APIAction<Payload>
  • ActionCreator<Params, Payload>
  • APIActionCreator<Params, Payload>
  • Reducer<State, Payload>

Import the types as:

import { APIActionCreator, Action, /*...*/ } from "redux-common-types-ts";

For more information and examples read this article.

About

Sample TypeScript npm module project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 83.6%
  • JavaScript 16.4%