Skip to content

Commit 4c3a9ec

Browse files
committed
fix: add container to TypeScript types
Update the TS types for the new `container` property that was added to the output of `render` in callstack#567.
1 parent cd49dd4 commit 4c3a9ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

typings/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ export interface RenderAPI extends Queries {
303303
unmount(nextElement?: React.ReactElement<any>): void;
304304
toJSON(): ReactTestRendererJSON | null;
305305
debug(message?: string): void;
306+
container: ReactTestInstance;
306307
}
307308

308309
export type FireEventFunction = (

0 commit comments

Comments
 (0)