Type the prompt wrapper's tensor slice for open-ended ranges

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Lucas WintherandClaude Opus 5.5 committed 2026-10-29 21:43:29 +01:00
1 parent 87617bef4c
commit 99b9cd71cd
1 file changed
+1 -1
+1 -1
View File
@@ -49,7 +49,7 @@ export interface PromptTokenizer {
}
interface SliceableTensor {
slice(...slices: (number[] | null)[]): unknown;
slice(...slices: ((number | null)[] | null)[]): unknown;
}
const WRAPPED = Symbol("whisper-web-prompt-support");