@types/react
Advanced tools
Comparing version 18.2.5 to 18.2.6
@@ -1,2 +0,12 @@ | ||
// Expose `JSX` namespace in `global` namespace | ||
import './'; | ||
import * as React from './'; | ||
export namespace JSX { | ||
interface Element extends React.JSX.Element {} | ||
interface ElementClass extends React.JSX.ElementClass {} | ||
interface ElementAttributesProperty extends React.JSX.ElementAttributesProperty {} | ||
interface ElementChildrenAttribute extends React.JSX.ElementChildrenAttribute {} | ||
type LibraryManagedAttributes<C, P> = React.JSX.LibraryManagedAttributes<C, P>; | ||
interface IntrinsicAttributes extends React.JSX.IntrinsicAttributes {} | ||
interface IntrinsicClassAttributes<T> extends React.JSX.IntrinsicClassAttributes<T> {} | ||
interface IntrinsicElements extends React.JSX.IntrinsicElements {} | ||
} |
@@ -1,2 +0,12 @@ | ||
// Expose `JSX` namespace in `global` namespace | ||
import './'; | ||
import * as React from './'; | ||
export namespace JSX { | ||
interface Element extends React.JSX.Element {} | ||
interface ElementClass extends React.JSX.ElementClass {} | ||
interface ElementAttributesProperty extends React.JSX.ElementAttributesProperty {} | ||
interface ElementChildrenAttribute extends React.JSX.ElementChildrenAttribute {} | ||
type LibraryManagedAttributes<C, P> = React.JSX.LibraryManagedAttributes<C, P>; | ||
interface IntrinsicAttributes extends React.JSX.IntrinsicAttributes {} | ||
interface IntrinsicClassAttributes<T> extends React.JSX.IntrinsicClassAttributes<T> {} | ||
interface IntrinsicElements extends React.JSX.IntrinsicElements {} | ||
} |
{ | ||
"name": "@types/react", | ||
"version": "18.2.5", | ||
"version": "18.2.6", | ||
"description": "TypeScript definitions for React", | ||
@@ -161,3 +161,3 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react", | ||
}, | ||
"typesPublisherContentHash": "ce0153f6bb1a5154576d9159e1711034f75efa459f9b1e0c773d78e6e18a9fda", | ||
"typesPublisherContentHash": "c2bc059f2a425eccfea97f64d97f713fa3727098c1d3ee4e21b0c9d9b5775f19", | ||
"typeScriptVersion": "4.3", | ||
@@ -164,0 +164,0 @@ "exports": { |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 04 May 2023 13:32:50 GMT | ||
* Last updated: Sat, 06 May 2023 11:32:49 GMT | ||
* Dependencies: [@types/csstype](https://npmjs.com/package/@types/csstype), [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler) | ||
@@ -14,0 +14,0 @@ * Global values: `React` |
@@ -1,2 +0,12 @@ | ||
// Expose `JSX` namespace in `global` namespace | ||
import './'; | ||
import * as React from './'; | ||
export namespace JSX { | ||
interface Element extends React.JSX.Element {} | ||
interface ElementClass extends React.JSX.ElementClass {} | ||
interface ElementAttributesProperty extends React.JSX.ElementAttributesProperty {} | ||
interface ElementChildrenAttribute extends React.JSX.ElementChildrenAttribute {} | ||
type LibraryManagedAttributes<C, P> = React.JSX.LibraryManagedAttributes<C, P>; | ||
interface IntrinsicAttributes extends React.JSX.IntrinsicAttributes {} | ||
interface IntrinsicClassAttributes<T> extends React.JSX.IntrinsicClassAttributes<T> {} | ||
interface IntrinsicElements extends React.JSX.IntrinsicElements {} | ||
} |
@@ -1,2 +0,12 @@ | ||
// Expose `JSX` namespace in `global` namespace | ||
import './'; | ||
import * as React from './'; | ||
export namespace JSX { | ||
interface Element extends React.JSX.Element {} | ||
interface ElementClass extends React.JSX.ElementClass {} | ||
interface ElementAttributesProperty extends React.JSX.ElementAttributesProperty {} | ||
interface ElementChildrenAttribute extends React.JSX.ElementChildrenAttribute {} | ||
type LibraryManagedAttributes<C, P> = React.JSX.LibraryManagedAttributes<C, P>; | ||
interface IntrinsicAttributes extends React.JSX.IntrinsicAttributes {} | ||
interface IntrinsicClassAttributes<T> extends React.JSX.IntrinsicClassAttributes<T> {} | ||
interface IntrinsicElements extends React.JSX.IntrinsicElements {} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
358763
6973