list.d.ts 512 B

1234567891011121314151617
  1. /**
  2. * Contains helpers for safely splitting lists of CSS values, preserving
  3. * parentheses and quotes.
  4. */
  5. declare module List {
  6. /**
  7. * Safely splits space-separated values (such as those for background,
  8. * border-radius and other shorthand properties).
  9. */
  10. function space(str: string): string[];
  11. /**
  12. * Safely splits comma-separated values (such as those for transition-* and
  13. * background properties).
  14. */
  15. function comma(str: string): string[];
  16. }
  17. export default List;