Skip to content

Commit

Permalink
fix: ts compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
bayang committed Aug 19, 2024
1 parent 6cabe7f commit d8705c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jelu-ui/src/components/AutoImportFormModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ function toggleScanModal() {
form.isbn = barcode
}
},
barcodeLoaded: (reader) => {
barcodeLoaded: (reader: any) => {
barcodeReader = reader
}
},
Expand Down Expand Up @@ -125,7 +125,7 @@ function scanModalClosed() {
console.log("scan modal closed")
barcodeReader.codeReader.stream
.getTracks()
.forEach(function (track) {
.forEach(function (track: any) {
track.stop();
});
}
Expand Down

0 comments on commit d8705c1

Please sign in to comment.