Skip to content

Try npm install @types/react-scroll-to-bottom #81

Open
@h4liss0n

Description

@h4liss0n

Hi flow!I
I have a problem! How to use this component in the application with React and typescript? 
I install and create simple chat app when run command npm i react-scroll-to-bottom  result OK, no problem.
But when I run command npm start result this problem\error:

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

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