mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-16 17:22:29 -05:00
* add more areas to strict null * fix compile errors * fix tests * fix checks * address PR comments
20 lines
841 B
TypeScript
20 lines
841 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
import { createDecorator } from 'vs/platform/instantiation/common/instantiation';
|
|
import { Event } from 'vs/base/common/event';
|
|
|
|
import { IModelView } from 'sql/platform/model/browser/modelViewService';
|
|
|
|
export const SERVICE_ID = 'modelViewService';
|
|
|
|
export interface IModelViewService {
|
|
_serviceBrand: undefined;
|
|
onRegisteredModelView: Event<IModelView>;
|
|
registerModelView(widget: IModelView): void;
|
|
}
|
|
|
|
export const IModelViewService = createDecorator<IModelViewService>(SERVICE_ID);
|