1 | // Type definitions for enzyme-to-json 1.5
|
2 | // Project: https://github.com/adriantoine/enzyme-to-json#readme
|
3 | // Definitions by: Joscha Feth <https://github.com/joscha>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 | // TypeScript Version: 3.1
|
6 |
|
7 | import { ReactWrapper, ShallowWrapper } from 'enzyme';
|
8 |
|
9 | export default function toJson<P, S>(wrapper: ShallowWrapper<P, S> | ReactWrapper<P, S> | cheerio.Cheerio): object;
|