diff --git a/src/styles/utilities/textUnderline/types.ts b/src/styles/utilities/textUnderline/types.ts index 10ad0dd46d52..ecc09ed0fe09 100644 --- a/src/styles/utilities/textUnderline/types.ts +++ b/src/styles/utilities/textUnderline/types.ts @@ -1,5 +1,8 @@ import {CSSProperties} from 'react'; -type TextUnderlineStyles = Record<'textUnderlinePositionUnder' | 'textDecorationSkipInkNone', Partial>>; +type TextUnderlineStyles = { + textUnderlinePositionUnder: Pick; + textDecorationSkipInkNone: Pick; +}; export default TextUnderlineStyles;