@types/react 18.3.12 → 18.3.13
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 +1 -1
- react/experimental.d.ts +5 -0
- react/package.json +3 -3
- react/ts5.0/experimental.d.ts +5 -0
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,
|
11
|
+
* Last updated: Wed, 04 Dec 2024 16:02:52 GMT
|
12
12
|
* Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [csstype](https://npmjs.com/package/csstype)
|
13
13
|
|
14
14
|
# Credits
|
react/experimental.d.ts
CHANGED
@@ -109,6 +109,11 @@ declare module "." {
|
|
109
109
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
110
110
|
export function experimental_useEffectEvent<T extends Function>(event: T): T;
|
111
111
|
|
112
|
+
/**
|
113
|
+
* Warning: Only available in development builds.
|
114
|
+
*/
|
115
|
+
function captureOwnerStack(): string | null;
|
116
|
+
|
112
117
|
type Reference = object;
|
113
118
|
type TaintableUniqueValue = string | bigint | ArrayBufferView;
|
114
119
|
function experimental_taintUniqueValue(
|
react/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "18.3.
|
3
|
+
"version": "18.3.13",
|
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
|
"csstype": "^3.0.2"
|
202
202
|
},
|
203
203
|
"peerDependencies": {},
|
204
|
-
"typesPublisherContentHash": "
|
205
|
-
"typeScriptVersion": "
|
204
|
+
"typesPublisherContentHash": "0c1b68de2134ad9790e784b950711ed8c266328d5eeffe395e07963c8b58d037",
|
205
|
+
"typeScriptVersion": "5.0"
|
206
206
|
}
|
react/ts5.0/experimental.d.ts
CHANGED
@@ -109,6 +109,11 @@ declare module "." {
|
|
109
109
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-function-type
|
110
110
|
export function experimental_useEffectEvent<T extends Function>(event: T): T;
|
111
111
|
|
112
|
+
/**
|
113
|
+
* Warning: Only available in development builds.
|
114
|
+
*/
|
115
|
+
function captureOwnerStack(): string | null;
|
116
|
+
|
112
117
|
type Reference = object;
|
113
118
|
type TaintableUniqueValue = string | bigint | ArrayBufferView;
|
114
119
|
function experimental_taintUniqueValue(
|