Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

export some types to avoid "not portable" error #26834

Open
wants to merge 1 commit into
base: next
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 9 additions & 1 deletion code/renderers/react/src/public-types.ts
Expand Up @@ -15,7 +15,15 @@ import type { ComponentProps, ComponentType } from 'react';
import type { SetOptional, Simplify } from 'type-fest';
import type { ReactRenderer } from './types';

export type { Args, ArgTypes, Parameters, StrictArgs } from '@storybook/types';
export type {
Args,
ArgTypes,
Parameters,
StrictArgs,
ComponentAnnotations as _ComponentAnnotations,
AnnotatedStoryFn as _AnnotatedStoryFn,
PartialStoryFn as _PartialStoryFn,
} from '@storybook/types';
export type { ReactRenderer };

/**
Expand Down