Skip to content

Commit 9191890

Browse files
authoredSep 3, 2020
fix: Update typings for cleanup (#776)
1 parent 491bedc commit 9191890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎types/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function render<Q extends Queries>(
4747
/**
4848
* Unmounts React trees that were mounted with render.
4949
*/
50-
export function cleanup(): Promise<void>
50+
export function cleanup(): void
5151

5252
/**
5353
* Simply calls ReactDOMTestUtils.act(cb)

0 commit comments

Comments
 (0)
Please sign in to comment.