Skip to content

Commit

Permalink
chore: 타입 에러 무시
Browse files Browse the repository at this point in the history
  • Loading branch information
WayneKim92 committed Aug 25, 2024
1 parent 3bfd84c commit 6b0fabb
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"scripts": {
"example": "yarn workspace react-native-good-tooltip-example",
"test": "jest",
"postinstall": "npx patch-package",
"typecheck": "tsc",
"lint": "eslint \"**/*.{js,ts,tsx}\"",
"clean": "del-cli lib",
Expand Down
15 changes: 15 additions & 0 deletions patches/react-native-anchor-point+1.0.6.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/node_modules/react-native-anchor-point/index.ts b/node_modules/react-native-anchor-point/index.ts
index f789fa7..a1a97c6 100644
--- a/node_modules/react-native-anchor-point/index.ts
+++ b/node_modules/react-native-anchor-point/index.ts
@@ -33,8 +33,10 @@ export const withAnchorPoint = (transform: TransformsStyle, anchorPoint: Point,
shiftTranslateX.push({
translateX: size.width * (anchorPoint.x - defaultAnchorPoint.x),
});
+ // @ts-ignore
injectedTransform = [...shiftTranslateX, ...injectedTransform];
// shift after rotation
+ // @ts-ignore
injectedTransform.push({
translateX: size.width * (defaultAnchorPoint.x - anchorPoint.x),
});

0 comments on commit 6b0fabb

Please sign in to comment.