@types/react 18.3.7 → 18.3.9

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: Tue, 17 Sep 2024 09:08:13 GMT
11
+ * Last updated: Tue, 24 Sep 2024 14:07:33 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 {
@@ -136,6 +136,15 @@ declare module "." {
136
136
  newState: "closed" | "open";
137
137
  }
138
138
 
139
+ interface LinkHTMLAttributes<T> {
140
+ precedence?: string | undefined;
141
+ }
142
+
143
+ interface StyleHTMLAttributes<T> {
144
+ href?: string | undefined;
145
+ precedence?: string | undefined;
146
+ }
147
+
139
148
  /**
140
149
  * @internal Use `Awaited<ReactNode>` instead
141
150
  */
react/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/react",
3
- "version": "18.3.7",
3
+ "version": "18.3.9",
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": "b1d98fe86a85173b431e17857bd1abd179b2631e9ebbd35cb81361160ba2e792",
208
+ "typesPublisherContentHash": "389c3384ed69e934b9567d9ce82f4448a91454629d15d717e033afc50d9c982c",
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 {
@@ -136,6 +136,15 @@ declare module "." {
136
136
  newState: "closed" | "open";
137
137
  }
138
138
 
139
+ interface LinkHTMLAttributes<T> {
140
+ precedence?: string | undefined;
141
+ }
142
+
143
+ interface StyleHTMLAttributes<T> {
144
+ href?: string | undefined;
145
+ precedence?: string | undefined;
146
+ }
147
+
139
148
  /**
140
149
  * @internal Use `Awaited<ReactNode>` instead
141
150
  */