Skip to content

Commit

Permalink
Fix type export for @storybook/experimental-nextjs-vite/vite-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinpalkovic committed Sep 2, 2024
1 parent dea51a7 commit f945473
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions code/frameworks/experimental-nextjs-vite/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,10 @@
import type vitePluginStorybookNextJs from 'vite-plugin-storybook-nextjs';

export * from './types';
export * from './portable-stories';

// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
declare module '@storybook/experimental-nextjs-vite/vite-plugin' {
export const storybookNextJsPlugin: typeof vitePluginStorybookNextJs;
}

0 comments on commit f945473

Please sign in to comment.