gatsby-link 4.19.0 shipped without types #36198
Labels
status: confirmed
Issue with steps to reproduce the bug that’s been verified by at least one reviewer.
topic: core
Relates to Gatsby's core (e.g. page loading, reporter, state machine)
type: bug
An issue or pull request relating to a bug in Gatsby
Preliminary Checks
Description
gatsby-link
4.18.0 contained anindex.d.ts
: https://unpkg.com/[email protected]/index.d.tsThis file is missing in 4.19.0: https://unpkg.com/[email protected]/index.d.ts
But
package.json
still references it: https://unpkg.com/[email protected]/package.jsonAs a result,
import { navigate } from "gatsby"
is untyped.Reproduction Link
Can provide if needed
Steps to Reproduce
import { navigate } from "gatsby"
into a TypeScript projectExpected Result
navigate
works normallyActual Result
error: Unsafe call of an `any` typed value (@typescript-eslint/no-unsafe-call)
Environment
Config Flags
No response
The text was updated successfully, but these errors were encountered: