Skip to content

Commit e7a691d

Browse files
andipaetzoldstaylor
authored andcommitted
fix: add helmetData to HelmetProps type
👋 Since 1.2.0 it is possible to pass an instance of `HelmetData` into `<Helmet>`. It was overlooked to add the `helmetData` prop to the typings. This PR adds the missing property.
1 parent b54917c commit e7a691d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ declare module 'react-helmet-async' {
2323
}
2424

2525
export interface HelmetProps {
26+
helmetData?: HelmetData;
2627
async?: boolean;
2728
base?: any;
2829
bodyAttributes?: BodyProps;

0 commit comments

Comments
 (0)