File tree 1 file changed +3
-2
lines changed
types/testing-library__react
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 1
- // Type definitions for @testing -library/react 9.1
1
+ // Type definitions for @testing -library/react 10.0
2
2
// Project: https://github.com/testing-library/react-testing-library
3
3
// Definitions by: Alex Krolick <https://github.com/alexkrolick>
4
4
// Kent C Dodds <https://github.com/kentcdodds>
5
5
// Sebastian Silbermann <https://github.com/eps1lon>
6
6
// Weyert de Boer <https://github.com/weyert>
7
7
// Ifiok Jr. <https://github.com/ifiokjr>
8
8
// Daniel Afonso <https://github.com/danieljcafonso>
9
+ // Tim Swalling <https://github.com/timswalling>
9
10
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
10
11
// TypeScript Version: 3.0
11
12
@@ -47,7 +48,7 @@ export function render<Q extends Queries>(ui: React.ReactElement, options: Rende
47
48
/**
48
49
* Unmounts React trees that were mounted with render.
49
50
*/
50
- export function cleanup ( ) : void ;
51
+ export function cleanup ( ) : Promise < void > ;
51
52
52
53
/**
53
54
* Simply calls ReactDOMTestUtils.act(cb)
You can’t perform that action at this time.
0 commit comments