Skip to content

Commit

Permalink
chore: svg types
Browse files Browse the repository at this point in the history
  • Loading branch information
lsagetlethias committed Dec 15, 2023
1 parent d5fef83 commit 8a663da
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions global.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,15 @@ declare module "@__content/landing/hero_title.mdx" {
export default MDXContent;
export const metadata: CarteVerteHeroMDXMetadata;
}

declare module "@codegouvfr/react-dsfr/*.svg" {
export interface SVG {
height: number;
src: string;
width: number;
}

const content: SVG;

export = content;
}

0 comments on commit 8a663da

Please sign in to comment.