From e5792fde8003e868e47f186dda86ec0f2e31fbaa Mon Sep 17 00:00:00 2001 From: Rintaro Itokawa Date: Thu, 22 Jun 2023 22:06:10 +0900 Subject: [PATCH] fix(docs): fixed a mistake in JSDoc --- code/renderers/react/src/testing-api.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/renderers/react/src/testing-api.ts b/code/renderers/react/src/testing-api.ts index 6d9d0dab3588..da061e64ef04 100644 --- a/code/renderers/react/src/testing-api.ts +++ b/code/renderers/react/src/testing-api.ts @@ -24,12 +24,12 @@ import type { ReactRenderer } from './types'; *```jsx * // setup.js (for jest) * import { setProjectAnnotations } from '@storybook/react'; - * import * as projectAnnotations from './.storybook/preview'; + * import projectAnnotations from './.storybook/preview'; * * setProjectAnnotations(projectAnnotations); *``` * - * @param projectAnnotations - e.g. (import * as projectAnnotations from '../.storybook/preview') + * @param projectAnnotations - e.g. (import projectAnnotations from '../.storybook/preview') */ export function setProjectAnnotations( projectAnnotations: ProjectAnnotations | ProjectAnnotations[]