Even more strictness (#11879)

* add more to strict nulls

* maintain error handling properly

* fix lint

* the rest of workbench/services

* fix compile
This commit is contained in:
Anthony Dresser
2020-08-20 14:00:26 -07:00
committed by GitHub
parent ca2b893c2c
commit adfdd56907
23 changed files with 260 additions and 302 deletions

View File

@@ -9,14 +9,18 @@ import { isUndefinedOrNull } from 'vs/base/common/types';
import { assign } from 'vs/base/common/objects';
import { find } from 'vs/base/common/arrays';
export interface IConnectionProfileGroup {
id: string;
export interface INewConnectionProfileGroup {
id?: string;
parentId?: string;
name: string;
color?: string;
description?: string;
}
export interface IConnectionProfileGroup extends INewConnectionProfileGroup {
id: string;
}
export class ConnectionProfileGroup extends Disposable implements IConnectionProfileGroup {
private _childGroups: ConnectionProfileGroup[] = [];