Open
Description
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch [email protected]
for the project I'm working on.
Here is the diff that solved my problem:
diff --git a/node_modules/react-native-walkthrough-tooltip/src/tooltip.d.ts b/node_modules/react-native-walkthrough-tooltip/src/tooltip.d.ts
index 5a7ef59..bd497f9 100644
--- a/node_modules/react-native-walkthrough-tooltip/src/tooltip.d.ts
+++ b/node_modules/react-native-walkthrough-tooltip/src/tooltip.d.ts
@@ -2,7 +2,7 @@
// Original definitions by: Siraj Alam https://github.com/sirajalam049
declare module 'react-native-walkthrough-tooltip' {
- import React from 'react';
+ import React, { PropsWithChildren } from 'react';
import { GestureResponderEvent, StyleProp, ViewStyle } from 'react-native';
type Orientation =
@@ -166,7 +166,7 @@ declare module 'react-native-walkthrough-tooltip' {
</Tooltip>
```
*/
- class Tooltip extends React.Component<TooltipProps> {}
+ class Tooltip extends React.Component<PropsWithChildren<TooltipProps>> {}
export default Tooltip;
}
This issue body was partially generated by patch-package.
Metadata
Metadata
Assignees
Labels
No labels