Skip to content

Commit a8e2bc4

Browse files
Sebastian Silbermanneps1lon
Sebastian Silbermann
authored andcommitted
fix: Ensure RTL types override DTL types
1 parent 2152c86 commit a8e2bc4

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

0 commit comments

Comments
 (0)