mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-03 09:35:40 -05:00
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:
@@ -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[];
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user