Skip to content

Deprecation of @types/classnames #1162

Description

@irenako

Hello! I’m encountering a deprecation warning related to the @types/classnames package in react-widgets@5.8.6 According the classnames package, it provides its own type definitions, so there is no longer a need for the @types/classnames dependency. However, react-widgets still lists this as a dependency, causing the following warning:
npm WARN deprecated @types/classnames@2.3.4: This is a stub types definition. classnames provides its own type definitions, so you do not need this installed.

Steps to reproduce:

  1. Install the latest version of react/widgets.
  2. Remove node_modules and package-lock.json
  3. Install dependencies

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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