Skip to content

Commit

Permalink
fix: use PropsWithChildren
Browse files Browse the repository at this point in the history
  • Loading branch information
andipaetzold authored and staylor committed Apr 11, 2022
1 parent 29ac5a8 commit 8689ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ declare module 'react-helmet-async' {
prioritizeSeoTags?: boolean;
}

export class Helmet extends React.Component<HelmetProps> {}
export class Helmet extends React.Component<React.PropsWithChildren<HelmetProps>> {}

export interface HelmetServerState {
base: HelmetDatum;
Expand Down

0 comments on commit 8689ee1

Please sign in to comment.