Skip to content

Commit

Permalink
fix(web): post-refactor build error
Browse files Browse the repository at this point in the history
  • Loading branch information
jahorton committed May 29, 2024
1 parent 7c7cb7a commit 93b0121
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@ export class InputSequenceSimulator<HoveredItemType> {

// Produces a hacky-but-sufficient implementation of TouchList for our purposes
// in environments that avoid direct touch-support.
const arrToTouchList = (arr: Touch[]): TouchList => {
const arrToTouchList = (arr: Touch[]): TouchList & { _arr: Touch[]} => {
return {
//@ts-ignore
_arr: arr, // Obviously, this isn't a standard member of TouchList.
length: arr.length,
item: function(i: number) { return this._arr[i]; }
Expand Down

0 comments on commit 93b0121

Please sign in to comment.