Skip to content

Commit 5e3f42a

Browse files
Sebastian Silbermanneps1lon
Sebastian Silbermann
authored andcommitted
fix: Ensure RTL types override DTL types
1 parent 52d2708 commit 5e3f42a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

types/index.d.ts

+2-2
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
}
@@ -264,3 +262,5 @@ export function cleanup(): Promise<void>
264262
* `act` for the DOM renderer
265263
*/
266264
export function act<T>(scope: () => T): Promise<T>
265+
266+
export * from '@testing-library/dom'

0 commit comments

Comments
 (0)