Socket
Socket
Sign inDemoInstall

@types/shallowequal

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/shallowequal

TypeScript definitions for shallowequal


Version published
Weekly downloads
150K
increased by17.67%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/shallowequal

Summary

This package contains type definitions for shallowequal (https://github.com/dashed/shallowequal).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shallowequal.

index.d.ts

declare function shallowEqual<TCtx = any>(
    objA: any,
    objB: any,
    customizer?: shallowEqual.Customizer<TCtx>,
    compareContext?: TCtx,
): boolean;

declare namespace shallowEqual {
    type Customizer<T = any> = (
        this: T,
        objA: any,
        objB: any,
        indexOrKey?: number | string,
        // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
    ) => boolean | void;
}

export = shallowEqual;

Additional Details

  • Last updated: Wed, 22 Nov 2023 00:24:48 GMT
  • Dependencies: none

Credits

These definitions were written by Sean Kelley, BendingBender, and Arnd Issler.

FAQs

Package last updated on 22 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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