Skip to content

Commit

Permalink
fix: correctly check if variables are class path groups
Browse files Browse the repository at this point in the history
  • Loading branch information
nathonius committed Nov 14, 2021
1 parent e233670 commit da2501d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export function isClassPath(pathOrGroup: ClassPath | ClassPathGroup | ClassPath[
}

export function isClassPathGroup(pathOrGroup: ClassPath | ClassPathGroup | ClassPath[]): pathOrGroup is ClassPathGroup {
return !this.isClassPath(pathOrGroup);
return !isClassPath(pathOrGroup);
}

/**
Expand Down

0 comments on commit da2501d

Please sign in to comment.