Skip to content

Compilation error. react-transition-group/Transition #5271

@DrNixx

Description

@DrNixx

Describe the bug

I have compilation error after update to 1.1.0.

To Reproduce

  1. After update to 1.1.0
    node_modules/react-bootstrap/esm/Fade.d.ts:2:45 - error TS7016: Could not find a declaration file for module 'react-transition-group/Transition'. 'D:/Workspace/JavaScript/onix/onix-chess-ctrls/node_modules/react-transition-group/cjs/Transition.js' implicitly has an 'any' type. 2 import Transition, { TransitionProps } from 'react-transition-group/Transition';

  2. Install types definitions @types/react-transition-group
    node_modules/react-bootstrap/esm/Fade.d.ts:10:108 - error TS2314: Generic type 'Transition<RefElement>' requires 1 type argument(s). 10 declare const Fade: React.ForwardRefExoticComponent<Pick<FadeProps, React.ReactText> & React.RefAttributes<Transition>>;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions