@types/enzyme-to-json
TypeScript icon, indicating that this package has built-in type declarations

1.5.7 • Public • Published

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

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

Credits

These definitions were written by Joscha Feth.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/enzyme-to-json

Weekly Downloads

13,216

Version

1.5.7

License

MIT

Unpacked Size

3.01 kB

Total Files

5

Last publish

Collaborators

  • types