We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed2762f commit 84a37d2Copy full SHA for 84a37d2
packages/gatsby/index.d.ts
@@ -1,4 +1,5 @@
1
import * as React from "react"
2
+import { Renderer } from "react-dom"
3
import { EventEmitter } from "events"
4
import { WindowLocation, NavigateFn } from "@reach/router"
5
import { createContentDigest } from "gatsby-core-utils"
@@ -537,7 +538,7 @@ export interface GatsbyBrowser {
537
538
args: ReplaceComponentRendererArgs,
539
options: PluginOptions
540
): any
- replaceHydrateFunction?(args: BrowserPluginArgs, options: PluginOptions): any
541
+ replaceHydrateFunction?(args: BrowserPluginArgs, options: PluginOptions): Renderer
542
shouldUpdateScroll?(args: ShouldUpdateScrollArgs, options: PluginOptions): any
543
wrapPageElement?(
544
args: WrapPageElementBrowserArgs,
0 commit comments