diff --git a/code/frameworks/nextjs/src/types.ts b/code/frameworks/nextjs/src/types.ts index 4707d03d27e8..9ff68f830b28 100644 --- a/code/frameworks/nextjs/src/types.ts +++ b/code/frameworks/nextjs/src/types.ts @@ -8,13 +8,14 @@ import type { BuilderOptions, TypescriptOptions as TypescriptOptionsBuilder, } from '@storybook/builder-webpack5'; +import type * as NextImage from 'next/image'; type FrameworkName = '@storybook/nextjs'; type BuilderName = '@storybook/builder-webpack5'; export type FrameworkOptions = ReactOptions & { nextConfigPath?: string; - + image?: Partial; builder?: BuilderOptions; };