Skip to content

Commit

Permalink
feat(gatsby-plugin-google-analytics): add TS typings for OutboundLink…
Browse files Browse the repository at this point in the history
… component (#10215)
  • Loading branch information
tdharmon authored and pieh committed Jan 28, 2019
1 parent 1d5ccff commit 7fee096
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions packages/gatsby-plugin-google-analytics/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import * as React from "react"

interface OutboundLinkProps {
onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void
}

class OutboundLink extends React.Component<
OutboundLinkProps & React.HTMLProps<HTMLAnchorElement>,
any
> {}
export { OutboundLink }

0 comments on commit 7fee096

Please sign in to comment.