Skip to content
This repository was archived by the owner on Jun 14, 2021. It is now read-only.
This repository was archived by the owner on Jun 14, 2021. It is now read-only.

Could not find declaration file for the module? #21

@punkscience

Description

@punkscience

Could not find a declaration file for module 'react-scroll-box'. '...node_modules/react-scroll-box/target/out/index.js' implicitly has an 'any' type.
Try npm install @types/react-scroll-box if it exists or add a new declaration (.d.ts) file containing declare module 'react-scroll-box';ts(7016)

Seems to have installed fine but my project can't seem to find the type? Any suggestions. I am not having issues with any other installed packages.

This error is appearing on the line:

import {ScrollBox, FastTrack} from 'react-scroll-box'; // ES6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions