Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mismatch between CSSInterpolation and Interpolation<Props> #3164

Merged
merged 5 commits into from
Mar 29, 2024

Commits on Mar 5, 2024

  1. Configuration menu
    Copy the full SHA
    c44db7f View commit details
    Browse the repository at this point in the history
  2. Reorder overloads for styled component creator

    Formerly, the first overload to be tried was not accepting template strings array as first argument. Therefore, it couldn't be used when `styled` was used as a tag for template string. So in this case TS skipped this overload and fell through to the next.
    Now, though, with `ArrayInterpolation` type changed, `TemplateStringsArray` matches the definition of `ArrayInterpolation`; therefore, this overload becomes used for template strings, confusing type inference.
    
    This change moves this overload to the end of the list, i.e. to be used as fallback when there's actually a direct function call, without template string.
    Cerber-Ursi committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    adabfd2 View commit details
    Browse the repository at this point in the history
  3. yarn changeset

    Cerber-Ursi committed Mar 5, 2024
    Configuration menu
    Copy the full SHA
    847668c View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2024

  1. Configuration menu
    Copy the full SHA
    7096107 View commit details
    Browse the repository at this point in the history
  2. Create tiny-snails-watch.md

    Andarist committed Mar 29, 2024
    Configuration menu
    Copy the full SHA
    2a76367 View commit details
    Browse the repository at this point in the history