aesthetic-suite / framework

🎨 Aesthetic is an end-to-end multi-platform styling framework that offers a strict design system, robust atomic CSS-in-JS engine, a structural style sheet specification (SSS), a low-runtime solution, and much more!
https://aestheticsuite.dev
MIT License
203 stars 5 forks source link

3.0 alpha issues #37

Closed milesj closed 5 years ago

milesj commented 5 years ago
src/components/ProgressCard/index.tsx:21:30 - error TS2345: Argument of type 'StyledComponent<Theme, Props & WithStylesWrapperProps>' is not assignable to parameter of type 'string | ComponentClass<any, ComponentState> | StatelessComponent<any>'.
  Type 'StyledComponent<Theme, Props & WithStylesWrapperProps>' is not assignable to type 'ComponentClass<any, ComponentState>'.
    Types of property 'getDerivedStateFromProps' are incompatible.
      Type 'GetDerivedStateFromProps<Props & WithStylesWrapperProps, ComponentState> | undefined' is not assignable to type 'GetDerivedStateFromProps<any, ComponentState> | undefined'.
        Type 'GetDerivedStateFromProps<Props & WithStylesWrapperProps, ComponentState>' is not assignable to type 'GetDerivedStateFromProps<any, ComponentState>'.
          Types of parameters 'nextProps' and 'nextProps' are incompatible.
            Type 'Readonly<any>' is not assignable to type 'Readonly<Props & WithStylesWrapperProps>'.
              Property 'percent' is missing in type 'Readonly<any>'.

21     progress: childrenOfType(ProgressBar).isRequired,