JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 101544
  • Score
    100M100P100Q154771F
  • License MIT

TypeScript definitions for create-react-class

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/create-react-class) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Installation

    npm install --save @types/create-react-class

    Summary

    This package contains type definitions for create-react-class (https://facebook.github.io/react/).

    Details

    Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/create-react-class.

    index.d.ts

    // 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 { ClassicComponentClass, ComponentSpec } from "react";
    
    declare namespace createReactClass {}
    declare function createReactClass<P, S = {}>(spec: ComponentSpec<P, S>): ClassicComponentClass<P>;
    
    export as namespace createReactClass;
    export = createReactClass;
    

    Additional Details

    • Last updated: Mon, 04 Sep 2023 15:41:20 GMT
    • Dependencies: @types/react
    • Global values: createReactClass

    Credits

    These definitions were written by John Gozde.