# @types/shallowequal

> TypeScript definitions for shallowequal

Latest version **1.1.5** (published 2023-11-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/shallowequal
pnpm add @types/shallowequal
yarn add @types/shallowequal
bun add @types/shallowequal
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.1.5 |
| Published | 2023-11-22 |
| First published | 2016-10-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51437 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/shallowequal
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shallowequal
- npm.io page: https://npm.io/package/@types/shallowequal

## Recent versions

- 1.1.5 (latest) — 2023-11-22
- 1.1.1 (ts2.3) — 2019-02-04
- 0.2.3 (ts2.0) — 2018-06-13
- 0.2.7 — 2023-11-07
- 1.1.4 — 2023-11-07
- 0.2.6 — 2023-10-18
- 1.1.3 — 2023-10-18
- 0.2.5 — 2023-09-25
- 1.1.2 — 2023-09-25
- 1.1.0 — 2018-12-31
- 0.2.4 — 2018-12-31
- 0.2.2 — 2018-05-05
- 0.2.1 — 2016-10-05

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shallowequal/index.d.ts)
````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](https://github.com/seansfkelley), [BendingBender](https://github.com/BendingBender), and [Arnd Issler](https://github.com/arndissler).

---
_Source: https://npm.io/package/@types/shallowequal · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
