Socket
Socket
Sign inDemoInstall

@types/react-dom

Package Overview
Dependencies
Maintainers
1
Versions
149
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 16.9.22 to 16.9.24

3

react-dom v16.9/index.d.ts

@@ -56,2 +56,3 @@ // NOTE: Users of the `experimental` builds of React should add a reference

callback?: (component?: Component<P, ComponentState> | Element) => any,
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
): Component<P, ComponentState> | Element | void;

@@ -99,2 +100,3 @@

callback?: () => void,
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
): Component<P, ComponentState> | Element | void;

@@ -106,3 +108,4 @@

callback?: () => void,
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
): Component<any, ComponentState> | Element | void;
}

4

react-dom v16.9/package.json
{
"name": "@types/react-dom",
"version": "16.9.22",
"version": "16.9.24",
"description": "TypeScript definitions for react-dom",

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

},
"typesPublisherContentHash": "5969a1ad66ae71e3d8f6a19bbfe9dd0f74a976734490b6535225ec1aab0c915e",
"typesPublisherContentHash": "0c361a6f055b51e7fbb510c81d66ae7a5cb01e455e97121eea6814ee3c11746b",
"typeScriptVersion": "4.5"
}

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

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

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

// forward declarations
declare global {
namespace NodeJS {
// tslint:disable-next-line:no-empty-interface
// eslint-disable-next-line @typescript-eslint/no-empty-interface
interface ReadableStream {}

@@ -6,0 +6,0 @@ }

@@ -359,3 +359,3 @@ import {

declare const UNDEFINED_VOID_ONLY: unique symbol;
// tslint:disable-next-line: void-return
// eslint-disable-next-line @typescript-eslint/no-invalid-void-type
type VoidOrUndefinedOnly = void | { [UNDEFINED_VOID_ONLY]: never };

@@ -362,0 +362,0 @@ export function act(callback: () => Promise<VoidOrUndefinedOnly>): Promise<undefined>;

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