@types/react 18.2.45 → 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: Wed, 13 Dec 2023 01:31:25 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
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "18.2.45",
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": "52bd9404a47ca2841981d78f2871edff8b4c67bb30031d6daf17c34a9126b0c9",
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