compose Action type
npm install babel-plugin-redux-action-compose> compose Action type
```
$ npm install babel-plugin-redux-action-compose
action.js
`js
// @flow
import type { Action as Other2Action } from './other2/actions'
export type Action = Other2Action
`
other/action.js
`js`
// @flow
export type Action = { +type: 'A_TYPE' }
`js
// @flow
import type { Action as Other2Action } from './other2/actions';
import type { Action as OtherAction } from './other/actions';
export type Action = Other2Action | OtherAction;
`
.babelrc
`js``
{
"plugins": [
["redux-action-compose", {inputPath: 'othre/action.js'}]
]
}
MIT © akameco