Files
azuredatastudio/src/sql/platform/modelComponents/browser/modelViewService.ts
Anthony Dresser aad9c0f965 Add more areas to strict null (#7243)
* add more areas to strict null

* fix compile errors

* fix tests

* fix checks

* address PR comments
2019-09-18 12:27:19 -07:00

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);