mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 10:08:49 +01:00
Fixes more node 12 typing errors (#85420)
* Fixes more node 12 typing errors For #82514 * Remove Symbol.toStringTag usage for now * Reverting a few fixes that are not comptible with current node typings * Revert one more use of StringDecoder Must wait until we actually pick up the new typings
This commit is contained in:
@@ -419,7 +419,7 @@ class ExtHostTreeView<T> extends Disposable {
|
||||
// check if an ancestor of extElement is already in the elements to update list
|
||||
let currentNode: TreeNode | undefined = elementNode;
|
||||
while (currentNode && currentNode.parent && !elementsToUpdate.has(currentNode.parent.item.handle)) {
|
||||
const parentElement = this.elements.get(currentNode.parent.item.handle);
|
||||
const parentElement: T | undefined = this.elements.get(currentNode.parent.item.handle);
|
||||
currentNode = parentElement ? this.nodes.get(parentElement) : undefined;
|
||||
}
|
||||
if (currentNode && !currentNode.parent) {
|
||||
|
||||
Reference in New Issue
Block a user