Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update typings for cleanup
  • Loading branch information
artem-malko committed Sep 3, 2020
commit 6661561a420ace4d4ca48634f98d0fbc3e1f6f54
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