Skip to content

Code index.d.ts reffers to different package name #9

@chrisarts

Description

@chrisarts

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch react-native-code-input@1.0.6 for the project I'm working on.

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-code-input/index.d.ts b/node_modules/react-native-code-input/index.d.ts
index 7af85f0..49dd2e8 100644
--- a/node_modules/react-native-code-input/index.d.ts
+++ b/node_modules/react-native-code-input/index.d.ts
@@ -1,7 +1,7 @@
 import * as React from "react";
 import * as ReactNative from "react-native";
 
-declare module "react-native-confirmation-code-input" {
+declare module "react-native-code-input" {
 
     type InputPositions = 'left' | 'right' | 'center' | 'full-width';
     type BorderTypes = 'clear' | 'square' | 'circle' | 'underline';

This issue body was partially generated by patch-package.

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