From 6cb6ffb02f7080a1cfd02f88ebf34c18a51f54b3 Mon Sep 17 00:00:00 2001 From: Robbie Wadley Date: Wed, 3 Jan 2024 04:36:33 -0700 Subject: [PATCH] fix(types): navigate doesn't return anything (#38590) --- packages/gatsby-link/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-link/index.d.ts b/packages/gatsby-link/index.d.ts index 6c9cfa9ec5473..69cebfaaa1826 100644 --- a/packages/gatsby-link/index.d.ts +++ b/packages/gatsby-link/index.d.ts @@ -33,7 +33,7 @@ export class Link extends React.Component< * Sometimes you need to navigate to pages programmatically, such as during form submissions. In these * cases, `Link` won’t work. */ -export const navigate: NavigateFn +export const navigate: (...args: Parameters) => void; /** * It is common to host sites in a sub-directory of a site. Gatsby lets you set the path prefix for your site.