1 | // Type definitions for create-react-class 15.6
|
2 | // Project: https://facebook.github.io/react/
|
3 | // Definitions by: John Gozde <https://github.com/jgoz>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 | // TypeScript Version: 2.8
|
6 |
|
7 | import { ComponentSpec, ClassicComponentClass } from "react";
|
8 |
|
9 | declare namespace createReactClass {}
|
10 | declare function createReactClass<P, S = {}>(spec: ComponentSpec<P, S>): ClassicComponentClass<P>;
|
11 |
|
12 | export as namespace createReactClass;
|
13 | export = createReactClass;
|