We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cbf516 commit 2ab2645Copy full SHA for 2ab2645
typings/index.d.ts
@@ -309,7 +309,7 @@ export interface RenderAPI extends Queries {
309
update(nextElement: React.ReactElement<any>): void;
310
rerender(nextElement: React.ReactElement<any>): void;
311
unmount(nextElement?: React.ReactElement<any>): void;
312
- toJSON(): ReactTestRendererJSON | null;
+ toJSON(): ReactTestRendererJSON[] | ReactTestRendererJSON | null;
313
debug: Debug;
314
container: ReactTestInstance;
315
}
0 commit comments