1.0.9 • Published 6 years ago
flow-inlinestyle v1.0.9
flow-inlinestyle
To statically check your style objects
How to use ?
First:
npm install --save-dev flow-inlinestyle
Add the type in your .flowconfig file :
[libs]
node_modules/flow-inlinestyle/index.js
Then, to use the type in your code:
const STYLE_FOO: InlineStyle = {
marginRight: 10,
display: 'inline-block',
};