<commit_before>import { TransitionPropertyProperty } from "csstype";

const timing = "ease-in-out";
const duration = 150;

export const transition = Object.assign(
  (...props: TransitionPropertyProperty[]) => ({
    transition: props
      .map((prop) => `${prop} ${duration}ms ${timing}`)
      .join(", "),
  }),
  { duration, timing }
);
<commit_msg>fix(tsc): update csstype type usage<commit_after>import type { Property } from "csstype";

const timing = "ease-in-out";
const duration = 150;

export const transition = Object.assign(
  (...props: Property.TransitionProperty[]) => ({
    transition: props
      .map((prop) => `${prop} ${duration}ms ${timing}`)
      .join(", "),
  }),
  { duration, timing }
);

{'fraction_non_alphanumeric': 0.18662952646239556, 'fraction_numerical': 0.008356545961002786, 'mean_word_length': 3.891156462585034, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4520025', 'n_tokens_mistral': 231, 'n_tokens_neox': 226, 'n_words': 55}