From d68d46643b1ae005e43dada64c834eabb7caddd0 Mon Sep 17 00:00:00 2001 From: Kasper Peulen Date: Fri, 14 Jul 2023 10:16:43 +0200 Subject: [PATCH] Merge pull request #23186 from re-taro/fix/jsdoc Fixed a mistake in JSDoc (cherry picked from commit 3531eb3b0ac2fcfeb24645c099b4b5e2c742bbc1) --- 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[]