Skip to content

Commit 1b145bb

Browse files
committed
fixed typescript/glint issue
1 parent 9ff839c commit 1b145bb

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

showcase/app/components/page-carbonization/foundations/typography.gts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ import ShwCarbonizationComparisonGrid from 'showcase/components/shw/carbonizatio
1313

1414
import { STYLES_COMBINATIONS } from 'showcase/components/page-foundations/typography/sub-sections/styles';
1515

16-
const HDS_CARBON_STYLES_MAPPING = {
16+
type StyleMapping = {
17+
mapsTo: string;
18+
weights: Record<string, string>;
19+
};
20+
21+
const HDS_CARBON_STYLES_MAPPING: Record<string, StyleMapping> = {
1722
'display-500': { mapsTo: 'heading-05', weights: { bold: 'semibold' } },
1823
'display-400': {
1924
mapsTo: 'heading-04',

0 commit comments

Comments
 (0)