Skip to content

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

@na0495

Description

@na0495

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions