0.1.0 • Published 6 years ago
babel-plugin-s2s-d-action-types v0.1.0
babel-plugin-s2s-d-action-types
s2s plugin for
d
Install
$ yarn add --dev babel-plugin-s2s-d-action-types
Example
IN:
// @flow
import * as constants from './constants.js'
export type Action = Increment
OUT:
// @flow
import * as constants from './constants.js'
export type Increment = {
type: typeof constants.INCREMENT,
}
export type Action = Increment
Usage
{
['s2s-d-action-types']
}
0.1.0
6 years ago