Update index.d.ts (#18479)

This commit is contained in:
benbayard
2017-07-31 13:55:52 -07:00
committed by Sheetal Nandi
parent 1de0136f93
commit 1d74e8b21a

View File

@@ -8,7 +8,7 @@
import * as React from 'react';
export type Renderable = React.StatelessComponent<any> | React.Component<any> | JSX.Element;
export type Renderable = React.StatelessComponent<any> | React.ComponentClass<any> | JSX.Element;
export type RenderFunction = () => Renderable;
export type StoryDecorator = (story: RenderFunction, context: { kind: string, story: string }) => Renderable | null;