From b74b15faf280f12c92828fa8680b8784fc1513a7 Mon Sep 17 00:00:00 2001 From: Jason Cheatham Date: Wed, 28 Oct 2020 10:33:23 -0400 Subject: [PATCH] fix: add container to TypeScript types (#582) Update the TS types for the new `container` property that was added to the output of `render` in #567. --- typings/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/typings/index.d.ts b/typings/index.d.ts index 898e504d..35399bb3 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -303,6 +303,7 @@ export interface RenderAPI extends Queries { unmount(nextElement?: React.ReactElement): void; toJSON(): ReactTestRendererJSON | null; debug(message?: string): void; + container: ReactTestInstance; } export type FireEventFunction = (