@types/react 17.0.49 → 17.0.51
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 +1 -1
- react v17.0/index.d.ts +2 -4
- react v17.0/package.json +3 -3
react v17.0/README.md
CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for React (http://facebook.github.io/reac
|
|
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,
|
11
|
+
* Last updated: Tue, 25 Oct 2022 18:02:53 GMT
|
12
12
|
* 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)
|
13
13
|
* Global values: `React`
|
14
14
|
|
react v17.0/index.d.ts
CHANGED
@@ -53,7 +53,7 @@ declare const UNDEFINED_VOID_ONLY: unique symbol;
|
|
53
53
|
// Destructors are only allowed to return void.
|
54
54
|
type Destructor = () => void | { [UNDEFINED_VOID_ONLY]: never };
|
55
55
|
|
56
|
-
//
|
56
|
+
// eslint-disable-next-line export-just-namespace
|
57
57
|
export = React;
|
58
58
|
export as namespace React;
|
59
59
|
|
@@ -1824,6 +1824,7 @@ declare namespace React {
|
|
1824
1824
|
hidden?: boolean | undefined;
|
1825
1825
|
id?: string | undefined;
|
1826
1826
|
lang?: string | undefined;
|
1827
|
+
nonce?: string | undefined;
|
1827
1828
|
placeholder?: string | undefined;
|
1828
1829
|
slot?: string | undefined;
|
1829
1830
|
spellCheck?: Booleanish | undefined;
|
@@ -1944,7 +1945,6 @@ declare namespace React {
|
|
1944
1945
|
multiple?: boolean | undefined;
|
1945
1946
|
muted?: boolean | undefined;
|
1946
1947
|
name?: string | undefined;
|
1947
|
-
nonce?: string | undefined;
|
1948
1948
|
noValidate?: boolean | undefined;
|
1949
1949
|
open?: boolean | undefined;
|
1950
1950
|
optimum?: number | undefined;
|
@@ -2355,7 +2355,6 @@ declare namespace React {
|
|
2355
2355
|
defer?: boolean | undefined;
|
2356
2356
|
integrity?: string | undefined;
|
2357
2357
|
noModule?: boolean | undefined;
|
2358
|
-
nonce?: string | undefined;
|
2359
2358
|
referrerPolicy?: HTMLAttributeReferrerPolicy | undefined;
|
2360
2359
|
src?: string | undefined;
|
2361
2360
|
type?: string | undefined;
|
@@ -2386,7 +2385,6 @@ declare namespace React {
|
|
2386
2385
|
|
2387
2386
|
interface StyleHTMLAttributes<T> extends HTMLAttributes<T> {
|
2388
2387
|
media?: string | undefined;
|
2389
|
-
nonce?: string | undefined;
|
2390
2388
|
scoped?: boolean | undefined;
|
2391
2389
|
type?: string | undefined;
|
2392
2390
|
}
|
react v17.0/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "17.0.
|
3
|
+
"version": "17.0.51",
|
4
4
|
"description": "TypeScript definitions for React",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
|
6
6
|
"license": "MIT",
|
@@ -146,8 +146,8 @@
|
|
146
146
|
"@types/scheduler": "*",
|
147
147
|
"csstype": "^3.0.2"
|
148
148
|
},
|
149
|
-
"typesPublisherContentHash": "
|
150
|
-
"typeScriptVersion": "4.
|
149
|
+
"typesPublisherContentHash": "0bfce8e92c6654643e6cc96318206cc4fb7ded28a24f2e442a70bb18a814bc2b",
|
150
|
+
"typeScriptVersion": "4.1",
|
151
151
|
"exports": {
|
152
152
|
".": {
|
153
153
|
"types": {
|