File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
extensions/ql-vscode/src/queries-panel Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -32,9 +32,7 @@ export class QueryTreeDataProvider
3232 * @param item The item to represent.
3333 * @returns The UI presentation of the item.
3434 */
35- public getTreeItem (
36- item : QueryTreeViewItem ,
37- ) : vscode . TreeItem | Thenable < vscode . TreeItem > {
35+ public getTreeItem ( item : QueryTreeViewItem ) : vscode . TreeItem {
3836 return item ;
3937 }
4038
@@ -43,9 +41,7 @@ export class QueryTreeDataProvider
4341 * @param item The item to expand.
4442 * @returns The children of the item.
4543 */
46- public getChildren (
47- item ?: QueryTreeViewItem ,
48- ) : vscode . ProviderResult < QueryTreeViewItem [ ] > {
44+ public getChildren ( item ?: QueryTreeViewItem ) : QueryTreeViewItem [ ] {
4945 if ( ! item ) {
5046 // We're at the root.
5147 return this . queryTreeItems ;
You can’t perform that action at this time.
0 commit comments