@types/react 17.0.80 → 17.0.82

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, 26 Mar 2024 08:07:57 GMT
11
+ * Last updated: Tue, 17 Sep 2024 09:08:13 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 v17.0/index.d.ts CHANGED
@@ -392,6 +392,12 @@ declare namespace React {
392
392
  // TODO(react18): `fallback?: ReactNode;`
393
393
  /** A fallback react tree to show when a Suspense child (like React.lazy) suspends */
394
394
  fallback: NonNullable<ReactNode> | null;
395
+
396
+ /**
397
+ * A name for this Suspense boundary for instrumentation purposes.
398
+ * The name will help identify this boundary in React DevTools.
399
+ */
400
+ name?: string | undefined;
395
401
  }
396
402
 
397
403
  // TODO(react18): Updated JSDoc to reflect that Suspense works on the server.
@@ -1861,6 +1867,7 @@ declare namespace React {
1861
1867
  contextMenu?: string | undefined;
1862
1868
  dir?: string | undefined;
1863
1869
  draggable?: Booleanish | undefined;
1870
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
1864
1871
  hidden?: boolean | undefined;
1865
1872
  id?: string | undefined;
1866
1873
  lang?: string | undefined;
@@ -2227,7 +2234,6 @@ declare namespace React {
2227
2234
  capture?: boolean | "user" | "environment" | undefined; // https://www.w3.org/TR/html-media-capture/#the-capture-attribute
2228
2235
  checked?: boolean | undefined;
2229
2236
  disabled?: boolean | undefined;
2230
- enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
2231
2237
  form?: string | undefined;
2232
2238
  formAction?: string | undefined;
2233
2239
  formEncType?: string | undefined;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "17.0.80",
3
+ "version": "17.0.82",
4
4
  "description": "TypeScript definitions for react",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
6
6
  "license": "MIT",
@@ -169,6 +169,6 @@
169
169
  "@types/scheduler": "^0.16",
170
170
  "csstype": "^3.0.2"
171
171
  },
172
- "typesPublisherContentHash": "c70c8c25ecbd0d06f8a7f4eb0f6eff56f05387587a57e9837de542973ca86bea",
173
- "typeScriptVersion": "4.7"
172
+ "typesPublisherContentHash": "c0d75f380fc8abded1694fb5c5f5ce4fd9d916177be258ba45f180873d959707",
173
+ "typeScriptVersion": "4.8"
174
174
  }