diff --git a/types/image.d.ts b/types/image.d.ts index 44b0957..c3b257c 100644 --- a/types/image.d.ts +++ b/types/image.d.ts @@ -1,3 +1,12 @@ +declare module "*.png" { + // eslint-disable-next-line no-restricted-imports + import type { StaticImageData } from "next/image"; + + const content: StaticImageData; + + export default content; +} + declare module "*.svg" { // eslint-disable-next-line no-restricted-imports import type { StaticImageData } from "next/image";