Skip to content

Double slash in import path in requireNativeComponent.d.ts #36206

@harshika-kashyap

Description

@harshika-kashyap

Description

Hi folks,

There is a double slash in the import path in the requireNativeComponent.d.ts file. I believe this was mistakenly added in #35169.

Usecase

I am trying to develop an Azure portal extension using the Azure portal extension development framework. I am using a library which uses react-native version 0.71.2 in the extension project. The Azure portal framework build fails in presence of double slashes in import paths.

The easiest fix would just be to remove the extra slash as it is not present in other files. Happy to open a PR for the same.

Version

0.71.2

Output of npx react-native info

N/A

Steps to reproduce

N/A

Snack, code example, screenshot, or link to a repository

N/A

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