You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JSS-in_CSS library and version: styled-components:2.0.1
Any relevant JS library and version: React 15.5.4
Mixin/Helper/Shortand you were using and how you were using it:
import{darken}from'polished';
What you are seeing:
400+ flow errors.
embed/node_modules/polished/lib/color/parseToRgb.js.flow:56
56: alpha: parseFloat(${rgbaMatched[4]}, 10),
^^ unused function argument
19: declare function parseFloat(string: mixed): number;
^^^^^^^^^^^^^^^^^^^^^^^ function type expects no more than 1 argument. See lib: /private/tmp/flow/flowlib_3515cb84/core.js:19
embed/node_modules/polished/lib/color/parseToRgb.js.flow:83
83: alpha: parseFloat(${hslaMatched[4]}, 10),
^^ unused function argument
19: declare function parseFloat(string: mixed): number;
^^^^^^^^^^^^^^^^^^^^^^^ function type expects no more than 1 argument. See lib: /private/tmp/flow/flowlib_3515cb84/core.js:19
What you expected to see:
Either no flow errors from the library, or documentation (like in styled components repo) on how to configure flow to ignore these errors while still allowing the library to be used with flow.
The text was updated successfully, but these errors were encountered:
polished
version: 1.1.3JSS-in_CSS
library and version: styled-components:2.0.1Mixin/Helper/Shortand you were using and how you were using it:
What you are seeing:
400+ flow errors.
embed/node_modules/polished/lib/color/parseToRgb.js.flow:56
56: alpha: parseFloat(
${rgbaMatched[4]}
, 10),^^ unused function argument
19: declare function parseFloat(string: mixed): number;
^^^^^^^^^^^^^^^^^^^^^^^ function type expects no more than 1 argument. See lib: /private/tmp/flow/flowlib_3515cb84/core.js:19
embed/node_modules/polished/lib/color/parseToRgb.js.flow:83
83: alpha: parseFloat(
${hslaMatched[4]}
, 10),^^ unused function argument
19: declare function parseFloat(string: mixed): number;
^^^^^^^^^^^^^^^^^^^^^^^ function type expects no more than 1 argument. See lib: /private/tmp/flow/flowlib_3515cb84/core.js:19
What you expected to see:
Either no flow errors from the library, or documentation (like in styled components repo) on how to configure flow to ignore these errors while still allowing the library to be used with flow.
The text was updated successfully, but these errors were encountered: