Skip to content

Commit

Permalink
fix: disable lint error (apache#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Ritter authored and zhaoyongjie committed Nov 17, 2021
1 parent d245d82 commit 835d815
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export interface WithAxis {
axis?: XAxis | YAxis;
}

// eslint-disable-next-line import/prefer-default-export
export function isAxis(axis: Axis | null | undefined | false): axis is Axis {
return axis !== false && axis !== null && axis !== undefined;
}

0 comments on commit 835d815

Please sign in to comment.