Skip to content

Commit

Permalink
chore: format index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
staylor committed Apr 9, 2022
1 parent e7a691d commit 82c5ad8
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ declare module 'react-helmet-async' {
}

export interface HelmetProps {
helmetData?: HelmetData;
async?: boolean;
base?: any;
bodyAttributes?: BodyProps;
defaultTitle?: string;
defer?: boolean;
encodeSpecialCharacters?: boolean;
helmetData?: HelmetData;
htmlAttributes?: HtmlProps;
onChangeClientState?: (newState: any, addedTags: HelmetTags, removedTags: HelmetTags) => void;
link?: LinkProps[];
Expand All @@ -43,9 +43,8 @@ declare module 'react-helmet-async' {
prioritizeSeoTags?: boolean;
}

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

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

export interface HelmetServerState {
base: HelmetDatum;
bodyAttributes: HelmetHTMLBodyDatum;
Expand Down Expand Up @@ -84,10 +83,10 @@ declare module 'react-helmet-async' {
}

export class HelmetData {
constructor(context: any)
constructor(context: any);
context: {
helmet: HelmetServerState
}
helmet: HelmetServerState;
};
}

export class HelmetProvider extends React.Component<ProviderProps> {
Expand Down

0 comments on commit 82c5ad8

Please sign in to comment.