Skip to content

Commit

Permalink
Update typings for cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-malko committed Sep 3, 2020
1 parent 491bedc commit 6661561
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function render<Q extends Queries>(
/**
* Unmounts React trees that were mounted with render.
*/
export function cleanup(): Promise<void>
export function cleanup(): void

/**
* Simply calls ReactDOMTestUtils.act(cb)
Expand Down

0 comments on commit 6661561

Please sign in to comment.