Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Commit 64ecd86

Browse files
committed
fix: Type inference error
1 parent d979e12 commit 64ecd86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interaction/actionsheet.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export default class ActionSheet {
193193
}
194194

195195
this.actionTag.style.transform = "translate(0, 0)"
196-
this.actionTag.style["-webkit-transform"] = "translate(0, 0)"
196+
this.actionTag.style["-webkit-transform" as any] = "translate(0, 0)"
197197
this.mask.style.display = "block"
198198

199199
return new Promise((resolve, reject) => {
@@ -203,7 +203,7 @@ export default class ActionSheet {
203203
}
204204
hide() {
205205
this.actionTag.style.transform = "translate(0, 100%)"
206-
this.actionTag.style["-webkit-transform"] = "translate(0, 100%)"
206+
this.actionTag.style["-webkit-transform" as any] = "translate(0, 100%)"
207207
this.mask.style.display = "none"
208208
}
209209
}

0 commit comments

Comments
 (0)