Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
fix: disable lint error (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Ritter committed Jul 25, 2019
1 parent 7a1b9c8 commit c490a7d
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 c490a7d

Please sign in to comment.