angular/vscode-ng-language-service/common/notifications.ts
Joey Perrott 863c7eaafe build: migrate vscode extension into repo (#63924)
Migrate the vscode extension for angular into this repository.

PR Close #63924
2025-09-24 20:24:32 +00:00

32 lines
983 B
TypeScript

/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {NotificationType, NotificationType0} from 'vscode-jsonrpc';
export const ProjectLoadingStart = new NotificationType0('angular/projectLoadingStart');
export const ProjectLoadingFinish = new NotificationType0('angular/projectLoadingFinish');
export interface ProjectLanguageServiceParams {
projectName: string;
languageServiceEnabled: boolean;
}
export const ProjectLanguageService = new NotificationType<ProjectLanguageServiceParams>(
'angular/projectLanguageService',
);
export interface SuggestStrictModeParams {
configFilePath: string;
message: string;
}
export const SuggestStrictMode = new NotificationType<SuggestStrictModeParams>(
'angular/suggestStrictMode',
);
export const OpenOutputChannel = new NotificationType('angular/OpenOutputChannel');