Skip to content

Commit 4f63749

Browse files
Sebastian Silbermanneps1lon
authored andcommitted
fix: Ensure RTL types override DTL types
1 parent 91c6056 commit 4f63749

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ import {act as reactDeprecatedAct} from 'react-dom/test-utils'
1313
//@ts-ignore
1414
import {act as reactAct} from 'react'
1515

16-
export * from '@testing-library/dom'
17-
1816
export interface Config extends ConfigDTL {
1917
reactStrictMode: boolean
2018
}
@@ -289,3 +287,5 @@ export function cleanup(): Promise<void>
289287
* `act` for the DOM renderer
290288
*/
291289
export function act<T>(scope: () => T): Promise<T>
290+
291+
export * from '@testing-library/dom'

0 commit comments

Comments
 (0)