diff --git a/packages/vscode/src/fill/environmentService.ts b/packages/vscode/src/fill/environmentService.ts index 7e5fa0ad..048db1e3 100644 --- a/packages/vscode/src/fill/environmentService.ts +++ b/packages/vscode/src/fill/environmentService.ts @@ -9,5 +9,5 @@ export class EnvironmentService extends environment.EnvironmentService { } -// @ts-ignore -environment.EnvironmentService = EnvironmentService; +const target = environment as typeof environment; +target.EnvironmentService = EnvironmentService;