mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-07 23:37:35 +08:00
* [react] Use HTMLDialogElement for the dialog node * Actually add the `open` property * This update requires typescript 2.6 * Update dependents of react to also require typescript 2.6
10 lines
426 B
TypeScript
10 lines
426 B
TypeScript
// Type definitions for enzyme-to-json 1.5
|
|
// Project: https://github.com/adriantoine/enzyme-to-json#readme
|
|
// Definitions by: Joscha Feth <https://github.com/joscha>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.6
|
|
|
|
import { ReactWrapper, ShallowWrapper } from 'enzyme';
|
|
|
|
export default function toJson<P, S>(wrapper: ShallowWrapper<P, S> | ReactWrapper<P, S> | Cheerio): object;
|