Skip to content

Commit b47c032

Browse files
committed
oppdater type for chunks i BTag og H3 tag
1 parent 2c0b746 commit b47c032

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/fakta-beregning/src/BeregningFaktaIndex.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ const skalVurderes = (bg: Beregningsgrunnlag, vilkårsperioder: Vilkårperiode[]
8888
!aktuellPeriode.erForlengelse
8989
);
9090
};
91-
const H3 = (...chunks: any) => (
91+
const H3 = (chunks: string[]) => (
9292
<Heading size="xsmall" level="3" key="h3">
9393
{chunks}
9494
</Heading>

packages/utils/src/createIntl.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ export const createIntl = (messages: Record<string, string>): IntlShape =>
1111
cache,
1212
);
1313

14-
export const BTag = (...chunks: any) => <b key="bold">{chunks}</b>;
14+
export const BTag = (chunks: string[]) => <b key="bold">{chunks}</b>;

0 commit comments

Comments
 (0)