diff --git a/typings/index.d.ts b/typings/index.d.ts index c0188727d..d42639d53 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -309,7 +309,7 @@ export interface RenderAPI extends Queries { update(nextElement: React.ReactElement): void; rerender(nextElement: React.ReactElement): void; unmount(nextElement?: React.ReactElement): void; - toJSON(): ReactTestRendererJSON | null; + toJSON(): ReactTestRendererJSON[] | ReactTestRendererJSON | null; debug: Debug; container: ReactTestInstance; }