From 8998994a26ef51e4509e66dec183c2ceede4a43c Mon Sep 17 00:00:00 2001 From: mhp23 Date: Tue, 3 Sep 2024 20:44:40 +0330 Subject: [PATCH] fix: undefined with pattern suggestion when writing the responsive patterned value --- src/types.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/types.ts b/src/types.ts index ab37078..0942263 100644 --- a/src/types.ts +++ b/src/types.ts @@ -44,7 +44,8 @@ export type NamedStyles = { | WithPattern; }; export type Pattern = 'rs' | 'rw' | 'rh'; -export type ResponsivePattern = `${number | undefined}${Pattern}`; +export type ResponsivePattern = + `${T}${Pattern}`; export type ValuePattern = string | number | ResponsivePattern; export type MethodType = 'linear' | 'recursive'; export type CreateStyleConfig = {