Skip to content

Commit

Permalink
Fix getMountableComponent type changing to React.SFC (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
noisae authored Sep 11, 2018
1 parent 78d9d0e commit fd06098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frint-react/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ export class Provider extends React.Component<ProviderProps, any> {
export function streamProps(...args: any[]): Streamer;
export function isObservable(obj: any): boolean;
export function render(app: App, node: Element): void | Element | React.Component<any, React.ComponentState>;
export function getMountableComponent(app: App): () => React.Component<ProviderProps, undefined> | Element;
export function getMountableComponent(app: App): React.SFC;
type Constructor<T extends React.Component<any, any>> = new(...args: any[]) => T;
export function observe<T extends Constructor<React.Component<any, any>>>(fn: (app: App) => Observable<any>): (comp: T) => any;

0 comments on commit fd06098

Please sign in to comment.