Fix wrong type being used

This commit is contained in:
Vanilagy
2025-11-24 16:53:53 +01:00
parent da159bb063
commit f62ecb0eb6
+1 -1
View File
@@ -650,7 +650,7 @@ export class FilePathSource extends Source {
_fileHandle: FileHandle | null = null;
/** Creates a new {@link FilePathSource} backed by the file at the specified file path. */
constructor(filePath: string, options: BlobSourceOptions = {}) {
constructor(filePath: string, options: FilePathSourceOptions = {}) {
if (typeof filePath !== 'string') {
throw new TypeError('filePath must be a string.');
}