# Installation
> `npm install --save @types/enzyme-to-json`

# Summary
This package contains type definitions for enzyme-to-json (https://github.com/adriantoine/enzyme-to-json#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/enzyme-to-json.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/enzyme-to-json/index.d.ts)
````ts
import { ReactWrapper, ShallowWrapper } from "enzyme";

export default function toJson<P, S>(wrapper: ShallowWrapper<P, S> | ReactWrapper<P, S> | cheerio.Cheerio): object;

````

### Additional Details
 * Last updated: Mon, 06 Nov 2023 22:41:05 GMT
 * Dependencies: [@types/enzyme](https://npmjs.com/package/@types/enzyme)

# Credits
These definitions were written by [Joscha Feth](https://github.com/joscha).
