Skip to content

Commit

Permalink
fix(webcomponents): make types play nicely with lit-element (#9557)
Browse files Browse the repository at this point in the history
fix(webcomponents): make types play nicely with lit-element
  • Loading branch information
ndelangen authored and shilman committed Feb 2, 2020
1 parent 2db6886 commit 29ab2db
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/web-components/src/client/preview/types.ts
@@ -1,6 +1,8 @@
import { StoryFn } from '@storybook/addons';
// eslint-disable-next-line import/no-extraneous-dependencies
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

0 comments on commit 29ab2db

Please sign in to comment.