Skip to content

Commit

Permalink
fix(web-components): types
Browse files Browse the repository at this point in the history
  • Loading branch information
bennypowers committed Jun 24, 2021
1 parent fbacf4e commit e584062
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ export const prepareForInline = (storyFn: StoryFn) => {
return React.createElement('div', { ref: this.wrapperRef });
}
}
return React.createElement(Story);

return (React.createElement(Story) as unknown) as React.CElement<{}, React.Component>;
};

0 comments on commit e584062

Please sign in to comment.