mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 00:01:12 +08:00
chore: improve types of StoryFnPreactReturnType
This commit is contained in:
parent
6290707054
commit
23f0930407
@ -1,6 +1,6 @@
|
||||
import { StoryFn, ClientStoryApi, Loadable } from '@storybook/addons';
|
||||
|
||||
export type StoryFnPreactReturnType = string | Node;
|
||||
export type StoryFnPreactReturnType = string | Node | JSX.Element;
|
||||
|
||||
export interface ShowErrorArgs {
|
||||
title: string;
|
||||
|
Loading…
x
Reference in New Issue
Block a user