@types/react 18.2.44 → 18.2.46

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/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.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Tue, 12 Dec 2023 22:35:35 GMT
11
+ * Last updated: Thu, 28 Dec 2023 15:06:50 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
react/index.d.ts CHANGED
@@ -1649,7 +1649,7 @@ declare namespace React {
1649
1649
  onTransitionEndCapture?: TransitionEventHandler<T> | undefined;
1650
1650
  }
1651
1651
 
1652
- export interface CSSProperties extends CSS.Properties<(string & {}) | number> {
1652
+ export interface CSSProperties extends CSS.Properties<string | number> {
1653
1653
  /**
1654
1654
  * The index signature was removed to enable closed typing for style
1655
1655
  * using CSSType. You're able to use type assertion or module augmentation
@@ -2243,6 +2243,7 @@ declare namespace React {
2243
2243
  interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
2244
2244
  open?: boolean | undefined;
2245
2245
  onToggle?: ReactEventHandler<T> | undefined;
2246
+ name?: string | undefined;
2246
2247
  }
2247
2248
 
2248
2249
  interface DelHTMLAttributes<T> extends HTMLAttributes<T> {
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "18.2.44",
3
+ "version": "18.2.46",
4
4
  "description": "TypeScript definitions for react",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -201,6 +201,6 @@
201
201
  "@types/scheduler": "*",
202
202
  "csstype": "^3.0.2"
203
203
  },
204
- "typesPublisherContentHash": "94294f4b870818298a35c662227962b8b128fed8e13abe52273bf848e9ed7f4f",
204
+ "typesPublisherContentHash": "9ab41da0d8ef1418c01f1176d751f434d2fe97b4abf39eed1b8cb12dfb603b05",
205
205
  "typeScriptVersion": "4.6"
206
206
  }
react/ts5.0/index.d.ts CHANGED
@@ -1652,7 +1652,7 @@ declare namespace React {
1652
1652
  onTransitionEndCapture?: TransitionEventHandler<T> | undefined;
1653
1653
  }
1654
1654
 
1655
- export interface CSSProperties extends CSS.Properties<(string & {}) | number> {
1655
+ export interface CSSProperties extends CSS.Properties<string | number> {
1656
1656
  /**
1657
1657
  * The index signature was removed to enable closed typing for style
1658
1658
  * using CSSType. You're able to use type assertion or module augmentation
@@ -2246,6 +2246,7 @@ declare namespace React {
2246
2246
  interface DetailsHTMLAttributes<T> extends HTMLAttributes<T> {
2247
2247
  open?: boolean | undefined;
2248
2248
  onToggle?: ReactEventHandler<T> | undefined;
2249
+ name?: string | undefined;
2249
2250
  }
2250
2251
 
2251
2252
  interface DelHTMLAttributes<T> extends HTMLAttributes<T> {