Skip to content

Commit

Permalink
fix(TS): declare optional argument to debug (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnapse authored and Kent C. Dodds committed Jul 26, 2018
1 parent 4388c92 commit dff0e1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion typings/index.d.ts
Expand Up @@ -6,7 +6,7 @@ type GetsAndQueries = ReturnType<typeof getQueriesForElement>

export interface RenderResult extends GetsAndQueries {
container: HTMLDivElement
debug: () => void
debug: (baseElement?: HTMLElement) => void
rerender: (ui: React.ReactElement<any>) => void
unmount: () => boolean
}
Expand Down

0 comments on commit dff0e1e

Please sign in to comment.