mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 20:13:32 +01:00
Use ITypescriptServiceClient in task provider
This commit is contained in:
@@ -10,7 +10,7 @@ import * as path from 'path';
|
||||
import * as vscode from 'vscode';
|
||||
|
||||
import * as Proto from '../protocol';
|
||||
import TypeScriptServiceClient from '../typescriptServiceClient';
|
||||
import { ITypescriptServiceClient } from '../typescriptService';
|
||||
import TsConfigProvider, { TSConfig } from '../utils/tsconfigProvider';
|
||||
import { isImplicitProjectConfigFile } from '../utils/tsconfig';
|
||||
|
||||
@@ -42,7 +42,7 @@ class TscTaskProvider implements vscode.TaskProvider {
|
||||
private readonly disposables: vscode.Disposable[] = [];
|
||||
|
||||
public constructor(
|
||||
private readonly lazyClient: () => TypeScriptServiceClient
|
||||
private readonly lazyClient: () => ITypescriptServiceClient
|
||||
) {
|
||||
this.tsconfigProvider = new TsConfigProvider();
|
||||
|
||||
@@ -228,7 +228,7 @@ export default class TypeScriptTaskProviderManager {
|
||||
private readonly disposables: vscode.Disposable[] = [];
|
||||
|
||||
constructor(
|
||||
private readonly lazyClient: () => TypeScriptServiceClient
|
||||
private readonly lazyClient: () => ITypescriptServiceClient
|
||||
) {
|
||||
vscode.workspace.onDidChangeConfiguration(this.onConfigurationChanged, this, this.disposables);
|
||||
this.onConfigurationChanged();
|
||||
|
||||
Reference in New Issue
Block a user