chore: improve types of StoryFnPreactReturnType

This commit is contained in:
Keisuke Kan 2019-09-23 13:06:00 +09:00
parent 6290707054
commit 23f0930407

View File

@ -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;