@types/react
Advanced tools
Comparing version 18.2.73 to 18.2.74
@@ -105,2 +105,9 @@ /** | ||
/** | ||
* Similar to `useTransition` but allows uses where hooks are not available. | ||
* | ||
* @param callback An _asynchronous_ function which causes state updates that can be deferred. | ||
*/ | ||
export function startTransition(scope: () => Promise<VoidOrUndefinedOnly>): void; | ||
export function useOptimistic<State>( | ||
@@ -107,0 +114,0 @@ passthrough: State, |
{ | ||
"name": "@types/react", | ||
"version": "18.2.73", | ||
"version": "18.2.74", | ||
"description": "TypeScript definitions for react", | ||
@@ -208,4 +208,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react", | ||
}, | ||
"typesPublisherContentHash": "9fb5bfea6e75766d22ab76ce27297701d372335892b8ce75ad990b3103e2155c", | ||
"typesPublisherContentHash": "6bde63ff275d15611e2a1289db659734578a77d4e3cdde230f8273aaeed9df33", | ||
"typeScriptVersion": "4.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 27 Mar 2024 16:37:53 GMT | ||
* Last updated: Tue, 02 Apr 2024 13:07:04 GMT | ||
* Dependencies: [@types/prop-types](https://npmjs.com/package/@types/prop-types), [csstype](https://npmjs.com/package/csstype) | ||
@@ -14,0 +14,0 @@ |
431302
9311