@types/react 18.3.8 → 18.3.10
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/canary.d.ts +1 -1
- react/index.d.ts +1 -1
- react/package.json +2 -2
- react/ts5.0/canary.d.ts +1 -1
- react/ts5.0/index.d.ts +1 -1
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:
|
11
|
+
* Last updated: Fri, 27 Sep 2024 16:08:32 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/canary.d.ts
CHANGED
@@ -67,7 +67,7 @@ declare module "." {
|
|
67
67
|
export function unstable_useCacheRefresh(): () => void;
|
68
68
|
|
69
69
|
interface DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS {
|
70
|
-
functions: (formData: FormData) => void
|
70
|
+
functions: (formData: FormData) => void | Promise<void>;
|
71
71
|
}
|
72
72
|
|
73
73
|
export interface TransitionStartFunction {
|
react/index.d.ts
CHANGED
@@ -2899,6 +2899,7 @@ declare namespace React {
|
|
2899
2899
|
|
2900
2900
|
// Standard HTML Attributes
|
2901
2901
|
accessKey?: string | undefined;
|
2902
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
2902
2903
|
autoFocus?: boolean | undefined;
|
2903
2904
|
className?: string | undefined;
|
2904
2905
|
contentEditable?: Booleanish | "inherit" | "plaintext-only" | undefined;
|
@@ -2937,7 +2938,6 @@ declare namespace React {
|
|
2937
2938
|
vocab?: string | undefined;
|
2938
2939
|
|
2939
2940
|
// Non-standard Attributes
|
2940
|
-
autoCapitalize?: string | undefined;
|
2941
2941
|
autoCorrect?: string | undefined;
|
2942
2942
|
autoSave?: string | undefined;
|
2943
2943
|
color?: string | undefined;
|
react/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@types/react",
|
3
|
-
"version": "18.3.
|
3
|
+
"version": "18.3.10",
|
4
4
|
"description": "TypeScript definitions for react",
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react",
|
6
6
|
"license": "MIT",
|
@@ -205,6 +205,6 @@
|
|
205
205
|
"@types/prop-types": "*",
|
206
206
|
"csstype": "^3.0.2"
|
207
207
|
},
|
208
|
-
"typesPublisherContentHash": "
|
208
|
+
"typesPublisherContentHash": "3fbf914f5052668104237c78a8f67cca37176346a3caed94eea6d5c504795f08",
|
209
209
|
"typeScriptVersion": "4.8"
|
210
210
|
}
|
react/ts5.0/canary.d.ts
CHANGED
@@ -67,7 +67,7 @@ declare module "." {
|
|
67
67
|
export function unstable_useCacheRefresh(): () => void;
|
68
68
|
|
69
69
|
interface DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS {
|
70
|
-
functions: (formData: FormData) => void
|
70
|
+
functions: (formData: FormData) => void | Promise<void>;
|
71
71
|
}
|
72
72
|
|
73
73
|
export interface TransitionStartFunction {
|
react/ts5.0/index.d.ts
CHANGED
@@ -2900,6 +2900,7 @@ declare namespace React {
|
|
2900
2900
|
|
2901
2901
|
// Standard HTML Attributes
|
2902
2902
|
accessKey?: string | undefined;
|
2903
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
2903
2904
|
autoFocus?: boolean | undefined;
|
2904
2905
|
className?: string | undefined;
|
2905
2906
|
contentEditable?: Booleanish | "inherit" | "plaintext-only" | undefined;
|
@@ -2938,7 +2939,6 @@ declare namespace React {
|
|
2938
2939
|
vocab?: string | undefined;
|
2939
2940
|
|
2940
2941
|
// Non-standard Attributes
|
2941
|
-
autoCapitalize?: string | undefined;
|
2942
2942
|
autoCorrect?: string | undefined;
|
2943
2943
|
autoSave?: string | undefined;
|
2944
2944
|
color?: string | undefined;
|