Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/react-dom

Package Overview
Dependencies
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-dom - npm Package Compare versions

Comparing version 18.2.14 to 18.2.15

12

react-dom/canary.d.ts

@@ -131,11 +131,11 @@ /**

function useFormState<State>(
action: (state: State) => Promise<State>,
initialState: State,
action: (state: Awaited<State>) => State | Promise<State>,
initialState: Awaited<State>,
permalink?: string,
): [state: State, dispatch: () => void];
): [state: Awaited<State>, dispatch: () => void];
function useFormState<State, Payload>(
action: (state: State, payload: Payload) => Promise<State>,
initialState: State,
action: (state: Awaited<State>, payload: Payload) => State | Promise<State>,
initialState: Awaited<State>,
permalink?: string,
): [state: State, dispatch: (payload: Payload) => void];
): [state: Awaited<State>, dispatch: (payload: Payload) => void];
}

@@ -142,0 +142,0 @@

{
"name": "@types/react-dom",
"version": "18.2.14",
"version": "18.2.15",
"description": "TypeScript definitions for react-dom",

@@ -85,4 +85,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom",

},
"typesPublisherContentHash": "a91527c44aa825000d86a4ee5471f4cfc93028a45d97c624bca8ba664455d44e",
"typesPublisherContentHash": "89d2db51d9354952a5871fe6343896615ca4e228ef8582ba6fb69ec1c5d89456",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 18 Oct 2023 18:04:04 GMT
* Last updated: Tue, 07 Nov 2023 20:08:00 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)

@@ -14,0 +14,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc