From 6a53861062610a94b01cf9cfb77e0a453ae9b3bd Mon Sep 17 00:00:00 2001 From: Rory Claasen Date: Mon, 7 Nov 2022 07:06:21 +0000 Subject: [PATCH] chore(gatsby-link): Correct type export (#36968) --- 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 dec7c2cdf2a8d..6c9cfa9ec5473 100644 --- a/packages/gatsby-link/index.d.ts +++ b/packages/gatsby-link/index.d.ts @@ -24,7 +24,7 @@ export interface GatsbyLinkProps extends LinkProps { * This component is intended _only_ for links to pages handled by Gatsby. For links to pages on other * domains or pages on the same domain not handled by the current Gatsby site, use the normal `` element. */ -export class GatsbyLink extends React.Component< +export class Link extends React.Component< GatsbyLinkProps, any > {}