polished icon indicating copy to clipboard operation
polished copied to clipboard

Typescript error with lighten and cssVar

Open EnesAppsmen opened this issue 4 years ago • 2 comments

  • polished version:
  • JSS-in_CSS library and version:
  • Any relevant JS library and version:

Mixin/Helper/Shorthand Usage


What You Are Seeing

download

What You Expected To See

No typescript error while using lighten and cssVar together

Reproduction

React 17.0.1 Typescript: 4.1.2 Polished: 4.1.1 Styled-components: 5.1.5;

EnesAppsmen avatar Mar 22 '21 07:03 EnesAppsmen

@EnesAppsmen Similar to #550 this is a bug with our Flow > TS library. We will be moving to native TS in v5 and will address this then.

bhough avatar Apr 25 '21 22:04 bhough