Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
shihanwan committed Apr 24, 2024
1 parent 7aa81a9 commit 77304e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { DirectedGraph } from "graphology";
import ncu from "npm-check-updates";
import { isObject } from "radash";
import semver from "semver";
import { Node, Project, SyntaxKind } from "ts-morph";
import { Project, SyntaxKind } from "ts-morph";
import { z } from "zod";

import type { DependencyGraph } from "../../../models/graph";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ const resolveTypeReferences = (
node: Node,
types: Set<string> = new Set<string>(),
seenNodes: Set<Node> = new Set<Node>(),
depth: number = 0,
maxDepth: number = 1,
depth = 0,
maxDepth = 1,
) => {
// we set a somewhat arbitary depth to the fetching of type signatures from external
// packages due to the size of type signature that could be returned
Expand Down

0 comments on commit 77304e6

Please sign in to comment.