Fix a few more type errors for TextDecoder

This commit is contained in:
Matt Bierner
2025-03-24 16:36:41 -07:00
parent 4a1dff2d44
commit c884598a94
3 changed files with 1 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ export type LanguageClientConstructor = (name: string, description: string, clie
export const languageServerDescription = l10n.t('HTML Language Server');
export interface Runtime {
TextDecoder: { new(encoding?: string): { decode(buffer: ArrayBuffer): string } };
TextDecoder: typeof TextDecoder;
fileFs?: FileSystemProvider;
telemetry?: TelemetryReporter;
readonly timer: {