From fad17f265e7850dfdefc5fe1b89761807d61a572 Mon Sep 17 00:00:00 2001 From: "Kent C. Dodds" Date: Thu, 20 Dec 2018 12:22:25 -0700 Subject: [PATCH] fix(TS): make container optional in RenderOptions Particularly useful if you're making a custom render with custom options. --- typings/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index e267c0df..4aac7035 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -14,7 +14,7 @@ export interface RenderResult extends GetsAndQueries { } export interface RenderOptions { - container: HTMLElement + container?: HTMLElement baseElement?: HTMLElement hydrate?: boolean }