Fix linting

This commit is contained in:
Valentin Palkovic 2024-08-30 13:15:49 +02:00
parent 0a810d1fb2
commit ccc136c2e4

View File

@ -1,10 +1,11 @@
// We need this import to be a singleton, and because it's used in multiple entrypoints
// both in ESM and CJS, importing it via the package name instead of having a local import
// is the only way to achieve it actually being a singleton
import { fn } from '@storybook/test';
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore we must ignore types here as during compilation they are not generated yet
import { headers } from '@storybook/experimental-nextjs-vite/headers.mock';
import { fn } from '@storybook/test';
import { RequestCookies } from 'next/dist/compiled/@edge-runtime/cookies';