import type * as React from 'react'; /** * Cross React Major Version compatible Intrinsic Element Keys */ type JSXIntrinsicElementKeys = Exclude /** * Cross React Major Version compatible IntrinsicElement Dictionary */ type JSXIntrinsicElements = { [K in JSXIntrinsicElementKeys]: React.ComponentProps }; export namespace JSX { type ElementType = string | React.JSXElementConstructor; interface Element extends React.ReactElement {} interface ElementClass extends React.Component { render(): React.ReactNode; } interface ElementAttributesProperty { props : {} } interface ElementChildrenAttribute { children: {} } interface IntrinsicAttributes extends React.Attributes {} interface IntrinsicClassAttributes extends React.ClassAttributes {} interface IntrinsicElements extends JSXIntrinsicElements {} }