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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(webcomponents): make types play nicely with lit-element #9557

Merged
merged 7 commits into from Jan 29, 2020
3 changes: 2 additions & 1 deletion app/web-components/src/client/preview/types.ts
@@ -1,6 +1,7 @@
import { StoryFn } from '@storybook/addons';
import { TemplateResult, SVGTemplateResult } from 'lit-element';

export type StoryFnHtmlReturnType = string | Node;
export type StoryFnHtmlReturnType = string | Node | TemplateResult | SVGTemplateResult;

export interface IStorybookStory {
name: string;
Expand Down