Skip to content

Commit

Permalink
Enable strictPropertyInitialization (fix #78168)
Browse files Browse the repository at this point in the history
  • Loading branch information
bpasero committed Nov 12, 2019
1 parent 382c7f5 commit 9b620f4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"alwaysStrict": true,
"strictBindCallApply": true,
"strictNullChecks": true,
"strictPropertyInitialization": true,
"forceConsistentCasingInFileNames": true,
"baseUrl": ".",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion src/vs/base/browser/ui/tree/asyncDataTree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ export interface ICompressibleAsyncDataTreeOptionsUpdate extends IAsyncDataTreeO

export class CompressibleAsyncDataTree<TInput, T, TFilterData = void> extends AsyncDataTree<TInput, T, TFilterData> {

protected readonly tree: CompressibleObjectTree<IAsyncDataTreeNode<TInput, T>, TFilterData>;
protected readonly tree!: CompressibleObjectTree<IAsyncDataTreeNode<TInput, T>, TFilterData>;
protected readonly compressibleNodeMapper: CompressibleAsyncDataTreeNodeMapper<TInput, T, TFilterData> = new WeakMapper(node => new CompressibleAsyncDataTreeNodeWrapper(node));

constructor(
Expand Down
4 changes: 2 additions & 2 deletions src/vs/workbench/api/common/extHostTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1143,8 +1143,8 @@ export class SelectionRange {

export class CallHierarchyItem {

_sessionId: string;
_itemId: string;
_sessionId?: string;
_itemId?: string;

kind: SymbolKind;
name: string;
Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/browser/parts/views/viewsViewlet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ export abstract class ViewContainerViewlet extends PanelViewlet implements IView
export abstract class FilterViewContainerViewlet extends ViewContainerViewlet {
private constantViewDescriptors: Map<string, IViewDescriptor> = new Map();
private allViews: Map<string, Map<string, IViewDescriptor>> = new Map();
private filterValue: string;
private filterValue: string | undefined;

protected onDidChangeFilterValue: Emitter<string> = new Emitter();

Expand Down

0 comments on commit 9b620f4

Please sign in to comment.