Skip to content

Commit 2f1a1d7

Browse files
committed
fix: update import paths for RootStackParamList to maintain consistency
1 parent b6b6401 commit 2f1a1d7

5 files changed

Lines changed: 35 additions & 15 deletions

File tree

bun.lock

Lines changed: 19 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
"install-apk": "adb install -r android/app/build/outputs/apk/debug/app-arm64-v8a-release.apk",
1919
"install-release-apk": "adb install -r android/app/build/outputs/apk/release/app-arm64-v8a-release.apk",
2020
"prettier": "prettier --check .",
21-
"prettier:fix": "prettier --write ."
21+
"prettier:fix": "prettier --write .",
22+
"tsc": "tsc --noEmit",
23+
"ts": "tsgo --noEmit"
2224
},
2325
"dependencies": {
2426
"@react-native-community/netinfo": "^11.4.1",
@@ -30,7 +32,7 @@
3032
"@tanstack/react-query": "^5.79.0",
3133
"clsx": "^2.1.1",
3234
"hono": "^4.7.11",
33-
"lottie-react-native": "^7.2.2",
35+
"lottie-react-native": "^7.2.5",
3436
"nativewind": "^4.1.23",
3537
"react": "19.0.0",
3638
"react-native": "0.79.2",
@@ -63,6 +65,7 @@
6365
"@types/jest": "^29.5.14",
6466
"@types/react": "19.0.0",
6567
"@types/react-test-renderer": "19.0.0",
68+
"@typescript/native-preview": "^7.0.0-dev.20250803.1",
6669
"babel-jest": "^29.7.0",
6770
"babel-plugin-module-resolver": "^5.0.2",
6871
"eslint": "^8.57.1",

src/screens/Try/TyrItOut.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ import { Colors } from '@utils/colors'
2929
import { Bold } from '@utils/fonts'
3030
import type { NavProp } from '@utils/types'
3131
import { delayedFadeAnimationSearch, exiting, layout } from '@utils/utils'
32-
import type { RootStackParamList } from 'App'
3332
import React, { useMemo } from 'react'
3433
import { TouchableOpacity, View, useColorScheme } from 'react-native'
3534
import Animated, { FadeIn } from 'react-native-reanimated'
35+
import { RootStackParamList } from '../../../App'
3636

3737
type Tool = {
3838
title: string

src/utils/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { StackNavigationProp } from '@react-navigation/stack'
2-
import type { RootStackParamList } from 'App'
2+
import { RootStackParamList } from '../../App'
33

44
export type StackNav = StackNavigationProp<RootStackParamList>
55
export type NavProp = { navigation: StackNav }

tsconfig.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,20 @@
33
"compilerOptions": {
44
"allowJs": true,
55
"jsx": "react-jsx",
6-
"baseUrl": ".",
6+
// "baseUrl": ".",
77
"strict": true,
88
"forceConsistentCasingInFileNames": true,
99
"noUncheckedIndexedAccess": true,
1010
"paths": {
11-
"@components/*": ["src/components/*"],
11+
"@components/*": ["./src/components/*"],
1212
"@hugeicons/*": ["./src/assets/icons/hugeicons/*"],
13-
"@icons/*": ["src/assets/icons/src/*"],
14-
"@images/*": ["src/assets/images/src/*"],
15-
"@assets/*": ["src/assets/*"],
16-
"@utils/*": ["src/utils/*"],
17-
"@screens/*": ["src/screens/*"],
18-
"@query/*": ["src/query/*"],
19-
"@/*": ["src/*"]
13+
"@icons/*": ["./src/assets/icons/src/*"],
14+
"@images/*": ["./src/assets/images/src/*"],
15+
"@assets/*": ["./src/assets/*"],
16+
"@utils/*": ["./src/utils/*"],
17+
"@screens/*": ["./src/screens/*"],
18+
"@query/*": ["./src/query/*"],
19+
"@/*": ["./src/*"]
2020
}
2121
}
2222
}

0 commit comments

Comments
 (0)