mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-20 10:19:02 +00:00
Fix a few more type errors for TextDecoder
This commit is contained in:
@@ -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: {
|
||||
|
||||
@@ -7,7 +7,6 @@ import { getNodeFileFS } from './nodeFs';
|
||||
import { Disposable, ExtensionContext, l10n } from 'vscode';
|
||||
import { startClient, LanguageClientConstructor, AsyncDisposable } from '../htmlClient';
|
||||
import { ServerOptions, TransportKind, LanguageClientOptions, LanguageClient } from 'vscode-languageclient/node';
|
||||
import { TextDecoder } from 'util';
|
||||
import * as fs from 'fs';
|
||||
import TelemetryReporter from '@vscode/extension-telemetry';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user