From 5d0911c0fb1f2b1fd159226942ee227601e57a3f Mon Sep 17 00:00:00 2001 From: Valentin Palkovic Date: Tue, 14 May 2024 16:00:55 +0200 Subject: [PATCH] Merge pull request #27105 from storybookjs/valentin/nextjs-add-image-typing Next.js: Add typing for NextImage to main framework options type (cherry picked from commit 46646d27897758b96af6afbe3259a602f51d16e7) --- code/frameworks/nextjs/src/types.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/code/frameworks/nextjs/src/types.ts b/code/frameworks/nextjs/src/types.ts index 9c7fcd9efd7d..921037eef397 100644 --- a/code/frameworks/nextjs/src/types.ts +++ b/code/frameworks/nextjs/src/types.ts @@ -1,13 +1,13 @@ +import type { + BuilderOptions, + StorybookConfigWebpack, + TypescriptOptions as TypescriptOptionsBuilder, +} from '@storybook/builder-webpack5'; import type { ReactOptions, StorybookConfig as StorybookConfigBase, TypescriptOptions as TypescriptOptionsReact, } from '@storybook/preset-react-webpack'; -import type { - StorybookConfigWebpack, - BuilderOptions, - TypescriptOptions as TypescriptOptionsBuilder, -} from '@storybook/builder-webpack5'; import type { CompatibleString } from '@storybook/types'; import type * as NextImage from 'next/image';