Socket
Socket
Sign inDemoInstall

@types/react

Package Overview
Dependencies
2
Maintainers
1
Versions
594
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 18.2.73 to 18.2.74

7

react/canary.d.ts

@@ -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,

4

react/package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc