From ea4dbfd5ba2c0ca0a40862e432afac9d45b4412f Mon Sep 17 00:00:00 2001 From: Graeme Houston Date: Wed, 25 Sep 2024 17:03:19 +0100 Subject: [PATCH] Fix further issues with typescript --- lib/components/organisms/TierTile/index.tsx | 1 + lib/types/theme.ts | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/components/organisms/TierTile/index.tsx b/lib/components/organisms/TierTile/index.tsx index 666899d..2ed5201 100644 --- a/lib/components/organisms/TierTile/index.tsx +++ b/lib/components/organisms/TierTile/index.tsx @@ -161,6 +161,7 @@ const Progress: React.FC = () => { const { tier } = configuration as TierTileConfig; if (!tier) return null; return ( + // @ts-ignore ); }; diff --git a/lib/types/theme.ts b/lib/types/theme.ts index 109f8c2..80ace52 100644 --- a/lib/types/theme.ts +++ b/lib/types/theme.ts @@ -1,6 +1,6 @@ import { ReactNode } from 'react'; import { sizes } from '../utils/styling'; -import { AlphaDerivedColors, DerivedColors } from '../utils/themeHelpers'; +import { DerivedColors } from '../utils/themeHelpers'; export type BaseThemeObject = { accent: string; @@ -24,7 +24,7 @@ export type DerivedProperties = { negativeText: string; derivedSurfaceText: DerivedColors; derivedSurface: DerivedColors; - alphaDerivedPrimary: AlphaDerivedColors; + alphaDerivedPrimary: DerivedColors; }; export type ThemeObject = BaseThemeObject &