Skip to content

Commit

Permalink
fix: typography config type array (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
qradle-yndx authored Oct 21, 2024
1 parent aba9dc8 commit 2e19416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/transformPageContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {getExtendTypographyConfig} from './config';
import {filterContent} from './contentFilter';

type TypographyConfigType = {
[x: string]: Record<string, unknown>;
[x: string]: Record<string, unknown> | Record<string, unknown>[];
};

type TransformPageContentPropsType = {
Expand Down

0 comments on commit 2e19416

Please sign in to comment.