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
  • Loading branch information
kasperpeulen authored Jul 14, 2023
2 parents 9f9070d + 0b3653b commit 3531eb3
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 3531eb3

Please sign in to comment.