mirror of
https://github.com/LuanRT/googlevideo.git
synced 2026-06-23 23:09:18 +00:00
refactor!: drop cjs support
+ Publish to JSR (jsr.io)
This commit is contained in:
@@ -113,7 +113,6 @@ export class UMP {
|
||||
}
|
||||
|
||||
public canReadFromCurrentChunk(offset: number, length: number): boolean {
|
||||
this.chunkedDataBuffer.isFocused(offset);
|
||||
return offset - this.chunkedDataBuffer.currentChunkOffset + length <= this.chunkedDataBuffer.chunks[this.chunkedDataBuffer.currentChunkIndex].length;
|
||||
}
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ export class CustomEvent extends Event {
|
||||
this.#detail = options?.detail ?? null;
|
||||
}
|
||||
|
||||
get detail() {
|
||||
get detail(): any[] | null {
|
||||
return this.#detail;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user