Skip to content

Commit

Permalink
feat(Flow): Type definition improvements (#222)
Browse files Browse the repository at this point in the history
* feat(types): Improved flow types

* feat(modules): Explicit return values, toColorString flow errors corrected.
  • Loading branch information
bhough committed Aug 26, 2017
1 parent b776076 commit 6e8e9a5
Show file tree
Hide file tree
Showing 65 changed files with 947 additions and 589 deletions.
3 changes: 1 addition & 2 deletions .documentation.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,10 @@
"name": "Types"
},
"AnimationProperty",
"ButtonState",
"FontFaceConfiguration",
"HslColor",
"HslaColor",
"InputState",
"InteractionState",
"PointingDirection",
"RadialGradientConfiguration",
"Ratio",
Expand Down
3 changes: 1 addition & 2 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
[ignore]
.*/node_modules/.*
.*/lib/.*

[include]

[libs]

[options]

suppress_comment=.*\\$FlowIgnoreNextLine
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,18 +135,18 @@ In the documentation you will see examples using [object spread properties](http
<summary>Types</summary>
<ul>
<li><a href="http://polished.js.org/docs/#animationproperty">AnimationProperty</a></li>
<li><a href="http://polished.js.org/docs/#buttonstate">ButtonState</a></li>
<li><a href="http://polished.js.org/docs/#fontfaceconfiguration">FontFaceConfiguration</a></li>
<li><a href="http://polished.js.org/docs/#hslcolor">HslColor</a></li>
<li><a href="http://polished.js.org/docs/#hslacolor">HslaColor</a></li>
<li><a href="http://polished.js.org/docs/#inputstate">InputState</a></li>
<li><a href="http://polished.js.org/docs/#interactionstate">InteractionState</a></li>
<li><a href="http://polished.js.org/docs/#pointingdirection">PointingDirection</a></li>
<li><a href="http://polished.js.org/docs/#radialgradientconfiguration">RadialGradientConfiguration</a></li>
<li><a href="http://polished.js.org/docs/#ratio">Ratio</a></li>
<li><a href="http://polished.js.org/docs/#rgbacolor">RgbaColor</a></li>
<li><a href="http://polished.js.org/docs/#rgbcolor">RgbColor</a></li>
<li><a href="http://polished.js.org/docs/#timingfunction">TimingFunction</a></li>
<li><a href="http://polished.js.org/docs/#tocolorstring">toColorString</a></li>
<li><a href="http://polished.js.org/docs/#modularscaleratio">ModularScaleRatio</a></li>
</ul>
</details>
<!-- INJECT DOCS END -->
Expand Down

0 comments on commit 6e8e9a5

Please sign in to comment.