Skip to content

Commit

Permalink
Add string to line-clamp typing (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro Duarte authored Mar 1, 2021
1 parent 26e2ab1 commit a3bd5b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/types/css-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5780,7 +5780,7 @@ export type LetterSpacingProperty<TLength> = Globals | TLength | 'normal' | numb

export type LineBreakProperty = Globals | 'anywhere' | 'auto' | 'loose' | 'normal' | 'strict'

export type LineClampProperty = Globals | 'none' | number
export type LineClampProperty = Globals | 'none' | number | (string & {})

export type LineHeightProperty<TLength> = Globals | TLength | 'normal' | number | (string & {})

Expand Down Expand Up @@ -6254,7 +6254,7 @@ export type WebkitAppearanceProperty =

export type WebkitBoxReflectProperty<TLength> = Globals | TLength | 'above' | 'below' | 'left' | 'right' | (string & {})

export type WebkitLineClampProperty = Globals | 'none' | number
export type WebkitLineClampProperty = Globals | 'none' | number | (string & {})

export type WebkitMaskProperty<TLength> = Globals | Position<TLength> | RepeatStyle | Box | 'border' | 'content' | 'none' | 'padding' | 'text' | (string & {})

Expand Down

0 comments on commit a3bd5b4

Please sign in to comment.