Skip to content

Missing dependency in @material-ui/labs #20846

@squirly

Description

@squirly
  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

Typescript fails to build with the following error:

./node_modules/@material-ui/lab/SpeedDial/SpeedDial.d.ts:4:33 - error TS7016: Could not find a declaration file for module 'react-transition-group/Transition'. './node_modules/react-transition-group/cjs/Transition.js' implicitly has an 'any' type.

Expected Behavior 🤔

Typescript builds successfully.

Steps to Reproduce 🕹

Steps:

  1. In a project that has material-ui installed
  2. Run the a typescript build

Context 🔦

Your Environment 🌎

Tech Version
Material-UI v4.9.9
Material-UI/lab v4.0.0-alpha.51
React 16.13.0
TypeScript 3.8.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions