From f62ecb0eb6fad92346a68157568b71984ebedc39 Mon Sep 17 00:00:00 2001 From: Vanilagy <1696106+Vanilagy@users.noreply.github.com> Date: Mon, 24 Nov 2025 16:53:53 +0100 Subject: [PATCH] Fix wrong type being used --- src/source.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/source.ts b/src/source.ts index 0f936a8..98cdc52 100644 --- a/src/source.ts +++ b/src/source.ts @@ -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.'); }