Skip to content

Commit

Permalink
Merge pull request #23186 from re-taro/fix/jsdoc
Browse files Browse the repository at this point in the history
Fixed a mistake in JSDoc

(cherry picked from commit 3531eb3)
  • Loading branch information
kasperpeulen authored and storybook-bot committed Jul 17, 2023
1 parent 035919d commit 885dffc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/renderers/react/src/testing-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<ReactRenderer> | ProjectAnnotations<ReactRenderer>[]
Expand Down

0 comments on commit 885dffc

Please sign in to comment.