Skip to content

Commit 47b5a40

Browse files
authored
Try fixing build (#3000)
* Try fixing build * Change build to use yarn * Revert main * Revert recent changes * Update @types/react version and fix TS error * Update @types/react version in package.json * Revert changes in yarn.lock
1 parent a575b87 commit 47b5a40

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"@types/jest": "^29.2.1",
7777
"@types/lodash": "^4.0.0",
7878
"@types/prop-types": "^15.5.3",
79-
"@types/react": "^18.2.15",
79+
"@types/react": "18.2.72",
8080
"@types/react-native": "0.71.2",
8181
"@types/tinycolor2": "^1.4.2",
8282
"@types/url-parse": "^1.4.3",

src/components/view/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ function View(props: ViewProps, ref: any) {
155155
}
156156

157157
return (
158+
//@ts-expect-error
158159
<ViewContainer
159-
//@ts-expect-error
160160
accessibilityElementsHidden={inaccessible}
161161
importantForAccessibility={inaccessible ? 'no-hide-descendants' : undefined}
162162
fsTagName={recorderTag}

yarn.lock

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2168,7 +2168,7 @@
21682168
dependencies:
21692169
"@types/react" "*"
21702170

2171-
"@types/react@*", "@types/react@>=16.9.0", "@types/react@^18.2.15":
2171+
"@types/react@*", "@types/react@>=16.9.0":
21722172
version "18.2.39"
21732173
resolved "https://repo.dev.wixpress.com/artifactory/api/npm/npm-repos/@types/react/-/react-18.2.39.tgz#744bee99e053ad61fe74eb8b897f3ab5b19a7e25"
21742174
integrity sha1-dEvumeBTrWH+dOuLiX86tbGafiU=
@@ -2177,6 +2177,14 @@
21772177
"@types/scheduler" "*"
21782178
csstype "^3.0.2"
21792179

2180+
2181+
version "18.2.72"
2182+
resolved "https://npm.dev.wixpress.com/api/npm/npm-repos/@types/react/-/react-18.2.72.tgz#3341a6d0746d1c7d8510810319323850c04bd6ed"
2183+
integrity sha512-/e7GWxGzXQF7OJAua7UAYqYi/4VpXEfbGtmYQcAQwP3SjjjAXfybTf/JK5S+SaetB/ChXl8Y2g1hCsj7jDXxcg==
2184+
dependencies:
2185+
"@types/prop-types" "*"
2186+
csstype "^3.0.2"
2187+
21802188
"@types/scheduler@*":
21812189
version "0.16.8"
21822190
resolved "https://repo.dev.wixpress.com/artifactory/api/npm/npm-repos/@types/scheduler/-/scheduler-0.16.8.tgz#ce5ace04cfeabe7ef87c0091e50752e36707deff"

0 commit comments

Comments
 (0)