From 4c3a9ec3546b172f05197872df239ff73a5413dc Mon Sep 17 00:00:00 2001 From: Jason Cheatham Date: Wed, 28 Oct 2020 10:23:40 -0400 Subject: [PATCH] fix: add container to TypeScript types 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 898e504da..35399bb3b 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 = (