You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When working on #2, I kept hitting this error. Ended up saving the custom type declarations in the src directory instead.
TS7016: Could not find a declaration file for module 'react-anchor-link-smooth-scroll'. '/home/runner/work/subway-quiz/subway-quiz/node_modules/react-anchor-link-smooth-scroll/lib/anchor-link.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/react-anchor-link-smooth-scroll` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-anchor-link-smooth-scroll';`
5 | import { Results } from "./components/Results";
6 | import { getQuizContent } from "./data/quiz-content";
> 7 | import AnchorLink from "react-anchor-link-smooth-scroll";
Maybe has to do with the duplication of the /subway-quiz directory in the pathname?
The text was updated successfully, but these errors were encountered:
When working on #2, I kept hitting this error. Ended up saving the custom type declarations in the src directory instead.
Maybe has to do with the duplication of the
/subway-quiz
directory in the pathname?The text was updated successfully, but these errors were encountered: