babel-plugin-s2s-d-action-types
v0.1.0
Published
generate action types
Downloads
13
Readme
babel-plugin-s2s-d-action-types
s2s plugin for
d
Install
$ yarn add --dev babel-plugin-s2s-d-action-typesExample
IN:
// @flow
import * as constants from './constants.js'
export type Action = IncrementOUT:
// @flow
import * as constants from './constants.js'
export type Increment = {
type: typeof constants.INCREMENT,
}
export type Action = IncrementUsage
{
['s2s-d-action-types']
}