mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* feat(react): add library managed attributes and upgrade to 2.8 * fix broken tests * fix lint errors
14 lines
506 B
TypeScript
14 lines
506 B
TypeScript
// Type definitions for create-react-class 15.6
|
|
// Project: https://facebook.github.io/react/
|
|
// Definitions by: John Gozde <https://github.com/jgoz>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.8
|
|
|
|
import { ComponentSpec, ClassicComponentClass } from "react";
|
|
|
|
declare namespace createReactClass {}
|
|
declare function createReactClass<P, S>(spec: ComponentSpec<P, S>): ClassicComponentClass<P>;
|
|
|
|
export as namespace createReactClass;
|
|
export = createReactClass;
|