@types/react 17.0.92 → 17.0.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
react v17.0/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for react (https://react.dev/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react/v17.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 19 May 2026 17:48:56 GMT
11
+ * Last updated: Mon, 01 Jun 2026 18:00:20 GMT
12
12
  * Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [@types/scheduler](https://npmjs.com/package/@types/scheduler), [csstype](https://npmjs.com/package/csstype)
13
13
 
14
14
  # Credits
@@ -1,17 +1,6 @@
1
1
  // Expose `JSX` namespace in `global` namespace
2
2
  import * as React from "./";
3
- export { Fragment } from "./";
4
-
5
- export namespace JSX {
6
- interface Element extends React.JSX.Element {}
7
- interface ElementClass extends React.JSX.ElementClass {}
8
- interface ElementAttributesProperty extends React.JSX.ElementAttributesProperty {}
9
- interface ElementChildrenAttribute extends React.JSX.ElementChildrenAttribute {}
10
- type LibraryManagedAttributes<C, P> = React.JSX.LibraryManagedAttributes<C, P>;
11
- interface IntrinsicAttributes extends React.JSX.IntrinsicAttributes {}
12
- interface IntrinsicClassAttributes<T> extends React.JSX.IntrinsicClassAttributes<T> {}
13
- interface IntrinsicElements extends React.JSX.IntrinsicElements {}
14
- }
3
+ export { Fragment, JSX } from "./";
15
4
 
16
5
  export interface JSXSource {
17
6
  /**
@@ -1,17 +1,6 @@
1
1
  // Expose `JSX` namespace in `global` namespace
2
2
  import * as React from "./";
3
- export { Fragment } from "./";
4
-
5
- export namespace JSX {
6
- interface Element extends React.JSX.Element {}
7
- interface ElementClass extends React.JSX.ElementClass {}
8
- interface ElementAttributesProperty extends React.JSX.ElementAttributesProperty {}
9
- interface ElementChildrenAttribute extends React.JSX.ElementChildrenAttribute {}
10
- type LibraryManagedAttributes<C, P> = React.JSX.LibraryManagedAttributes<C, P>;
11
- interface IntrinsicAttributes extends React.JSX.IntrinsicAttributes {}
12
- interface IntrinsicClassAttributes<T> extends React.JSX.IntrinsicClassAttributes<T> {}
13
- interface IntrinsicElements extends React.JSX.IntrinsicElements {}
14
- }
3
+ export { Fragment, JSX } from "./";
15
4
 
16
5
  /**
17
6
  * Create a React element.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "17.0.92",
3
+ "version": "17.0.93",
4
4
  "description": "TypeScript definitions for react",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -170,6 +170,6 @@
170
170
  "csstype": "^3.2.2"
171
171
  },
172
172
  "peerDependencies": {},
173
- "typesPublisherContentHash": "da4ea555835ed9351d49379c846e164129f74215167b2ba494b81a001d70e689",
173
+ "typesPublisherContentHash": "f00e06cc61e90eb660b397e9894997a31e44201761613eb98ca0f1bf98203ffc",
174
174
  "typeScriptVersion": "5.3"
175
175
  }