Skip to content

Typescript error: Could not find a declaration file for module react-ray. #76

Description

@danito72

I am using react-ray in a Laravel Inertia with a React typescript setup, running on Wsl2 with laravel sail.

On import this error happens:

TS7016: Could not find a declaration file for module react-ray.
/home/danny/code/projects/bior/node_modules/react-ray/dist/index.esm.mjs
implicitly has an any type.
There are types at
/home/danny/code/projects/bior/node_modules/react-ray/dist/index.d.ts
, but this result could not be resolved when respecting package.json exports. The react-ray library may need to update its package.json or typings.

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions