From 89e1de8dc5d812ef4dfc6709472dfe6d5f5e7c40 Mon Sep 17 00:00:00 2001 From: Suraj Ahmed Date: Tue, 20 Sep 2022 12:11:03 +0530 Subject: [PATCH 1/2] v3.4.16 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f05008831..39926bb66 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "prettier --write" ] }, - "version": "3.4.15", + "version": "3.4.16", "license": "MIT", "private": false, "main": "lib/commonjs/index", From e22e9f3d35cb5acdaf504db0091d2c3a3af9662d Mon Sep 17 00:00:00 2001 From: Suraj Ahmed Date: Tue, 20 Sep 2022 12:26:03 +0530 Subject: [PATCH 2/2] fix: typing fixes --- src/components/primitives/Link/types.ts | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/components/primitives/Link/types.ts b/src/components/primitives/Link/types.ts index ddaa0f5ed..5702a0f39 100644 --- a/src/components/primitives/Link/types.ts +++ b/src/components/primitives/Link/types.ts @@ -1,6 +1,6 @@ import type { MutableRefObject } from 'react'; import type { GestureResponderEvent } from 'react-native'; -import type { CustomProps, ThemeComponentSizeType } from '../../types'; +import type { CustomProps } from '../../types'; import type { InterfaceBoxProps } from '../Box/types'; export interface InterfaceLinkProps extends InterfaceBoxProps { @@ -11,15 +11,7 @@ export interface InterfaceLinkProps extends InterfaceBoxProps { /** * Size of the link */ - size?: - | '2xl' - | 'xl' - | 'lg' - | 'md' - | 'sm' - | 'xsm' - | number - | ThemeComponentSizeType<'Link'>; + size?: '2xl' | 'xl' | 'lg' | 'md' | 'sm' | 'xsm' | number; /** * Whether Link text should be underlined */