diff --git a/src/pure.ts b/src/pure.ts index 2996c6cd1..8752aa9c8 100644 --- a/src/pure.ts +++ b/src/pure.ts @@ -19,6 +19,7 @@ export type { RenderOptions, RenderResult, RenderResult as RenderAPI, + DebugFunction, } from './render'; export type { RenderHookOptions, RenderHookResult } from './renderHook'; export type { Config } from './config'; diff --git a/src/render.tsx b/src/render.tsx index 11811b3f4..de8a41600 100644 --- a/src/render.tsx +++ b/src/render.tsx @@ -136,7 +136,7 @@ function updateWithAct( }; } -interface DebugFunction { +export interface DebugFunction { (options?: DebugOptions | string): void; shallow: (message?: string) => void; }