Skip to content

No TypeScript declarations for react-player/lazy #918

Description

@cduff

Current Behavior

Trying to move to lazy loading as per instructions, importing "react-player/lazy". However this causes error as no TypeScript declaration file can be found.

Expected Behavior

Working TypeScript declaration file as per import of just "react-player".

Steps to Reproduce

Just try importing "react-player/lazy" in TypeScript project.

Environment

  • CRA
  • vscode

Other Information

n/a

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