Skip to content

Commit

Permalink
Fix eslint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
NoahTheDuke committed Feb 5, 2024
1 parent 242c62a commit 1e6875e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/tree.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@
// file, You can obtain one at https://mozilla.org/MPL/2.0/.

import {
CancellationToken,
commands,
Emitter,
ExtensionContext,
LanguageClient,
ProviderResult,
Range,
TreeDataProvider,
TreeItem,
Expand Down Expand Up @@ -65,6 +62,8 @@ interface ProjectTreeNodeBranch {
nodes: ProjectTreeNode[];
}

// Clojure doesn't care about optional keys and doesn't include a :node-type
// discriminant, so a union more accurately reflects working with the input.
type ProjectTreeNode = ProjectTreeNodeBranch & ProjectTreeNodeLeaf;

async function requestProjectTree(
Expand Down

0 comments on commit 1e6875e

Please sign in to comment.