Skip to content

Commit

Permalink
Ts-expect-error for now, see GMOD/bgzf-filehandle#62
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Oct 12, 2023
1 parent a5aca92 commit 7e1f141
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/bgzipIndexedFasta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ export default class BgzipIndexedFasta extends IndexedFasta {
}) {
super({ fasta, path, fai, faiPath })
if (fasta && gzi) {
// @ts-expect-error
this.fasta = new BgzfFilehandle({
filehandle: fasta,
gziFilehandle: gzi,
})
} else if (path && gziPath) {
// @ts-expect-error
this.fasta = new BgzfFilehandle({ path, gziPath })
}
}
Expand Down

0 comments on commit 7e1f141

Please sign in to comment.