Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing TypeScript type definitions for mapbox-gl-directions package #300

Open
na0495 opened this issue Apr 26, 2023 · 0 comments
Open

Missing TypeScript type definitions for mapbox-gl-directions package #300

na0495 opened this issue Apr 26, 2023 · 0 comments

Comments

@na0495
Copy link

na0495 commented Apr 26, 2023

Issue Description

I'm trying to use mapbox-gl-directions on my React TypeScript project, and I want to install type definitions for it using yarn add @types/mapbox__mapbox-gl-directions. However, I found that there aren't any type definitions available for this package.

Expected Behavior

I expected to be able to install type definitions for mapbox-gl-directions using yarn add @types/mapbox__mapbox-gl-directions.

Actual Behavior
When I tried to install the type definitions using the above command, I got the following error:

An unexpected error occurred: "https://registry.yarnpkg.com/@types%2fmapbox__mapbox-gl-directions: Not found".

Steps to Reproduce

Create a new React TypeScript project
Install mapbox-gl-directions using yarn add mapbox-gl-directions
Try to install type definitions using yarn add @types/mapbox__mapbox-gl-directions

Possible Solution

I'm not sure if there's a solution to this issue, but it would be great if someone could create and publish type definitions for mapbox-gl-directions to @types/mapbox__mapbox-gl-directions registry.

Please let me know if there's anything else I can provide to help resolve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant