Add more folders to strict compile (#8954)

* add more folders to strictire compile, add more strict compile options

* update ci

* remove unnecessary assertion
This commit is contained in:
Anthony Dresser
2020-01-27 16:26:49 -08:00
committed by GitHub
parent fefe1454de
commit 64929de09d
81 changed files with 630 additions and 644 deletions

View File

@@ -8,8 +8,8 @@ import { FileNode } from 'sql/workbench/services/fileBrowser/common/fileNode';
/**
* File tree info needed to render initially
*/
export class FileBrowserTree {
public rootNode: FileNode;
public selectedNode?: FileNode;
public expandedNodes: FileNode[];
export interface FileBrowserTree {
rootNode: FileNode;
selectedNode?: FileNode;
expandedNodes: FileNode[];
}

View File

@@ -38,7 +38,7 @@ export class FileNode {
/**
* Children nodes
*/
public children: FileNode[];
public children?: FileNode[];
/**
* Is the node expanded
@@ -53,7 +53,7 @@ export class FileNode {
/**
* Does this node have children
*/
public hasChildren: boolean;
public hasChildren?: boolean;
constructor(id: string, name: string, fullPath: string, isFile: boolean, isExpanded: boolean, ownerUri: string, parent?: FileNode) {
if (id) {