Skip to content

Commit

Permalink
fix: Remove ts-expect-error resolved in Deno 1.45.4
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Jul 28, 2024
1 parent b779d85 commit f0a2d3d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion bids-validator/src/files/browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export class BIDSFileBrowser implements BIDSFile {
this.#file = file
this.#ignore = ignore
this.name = file.name
// @ts-expect-error webkitRelativePath does exist in the browser
const relativePath = this.#file.webkitRelativePath
const prefixLength = relativePath.indexOf('/')
this.path = relativePath.substring(prefixLength)
Expand Down

0 comments on commit f0a2d3d

Please sign in to comment.