Fix preact typescript type

This commit is contained in:
Michael Shilman 2019-12-11 09:33:26 +08:00
parent b28274eae8
commit 80fcccdd87

View File

@ -1,6 +1,6 @@
import { StoryFn, ClientStoryApi, Loadable } from '@storybook/addons';
export type StoryFnPreactReturnType = string | Node | JSX.Element;
export type StoryFnPreactReturnType = string | Node | preact.JSX.Element;
export interface ShowErrorArgs {
title: string;