From e21f6ad500fdfaabb7e0f492095d3db59af58826 Mon Sep 17 00:00:00 2001 From: Julian Kobrynski Date: Thu, 24 Aug 2023 15:52:58 +0200 Subject: [PATCH] increase type accuracy --- src/styles/utilities/textUnderline/types.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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;