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.
This commit is contained in:
Jason Cheatham
2020-10-28 10:33:23 -04:00
committed by GitHub
parent cd49dd4754
commit b74b15faf2
+1
View File
@@ -303,6 +303,7 @@ export interface RenderAPI extends Queries {
unmount(nextElement?: React.ReactElement<any>): void;
toJSON(): ReactTestRendererJSON | null;
debug(message?: string): void;
container: ReactTestInstance;
}
export type FireEventFunction = (