Skip to content

Commit dff0e1e

Browse files
gnapseKent C. Dodds
authored and
Kent C. Dodds
committed
fix(TS): declare optional argument to debug (#148)
1 parent 4388c92 commit dff0e1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

typings/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ type GetsAndQueries = ReturnType<typeof getQueriesForElement>
66

77
export interface RenderResult extends GetsAndQueries {
88
container: HTMLDivElement
9-
debug: () => void
9+
debug: (baseElement?: HTMLElement) => void
1010
rerender: (ui: React.ReactElement<any>) => void
1111
unmount: () => boolean
1212
}

0 commit comments

Comments
 (0)