From d770a140e4ba4c3e59bf25a5e2a0edb7b2b3b9aa Mon Sep 17 00:00:00 2001 From: Erik Ritter Date: Thu, 25 Jul 2019 10:37:54 -0700 Subject: [PATCH] fix: disable lint error (#150) --- .../superset-ui-preset-chart-xy/src/encodeable/types/Axis.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/superset-ui-preset-chart-xy/src/encodeable/types/Axis.ts b/packages/superset-ui-preset-chart-xy/src/encodeable/types/Axis.ts index 3b489cb11..4777767b6 100644 --- a/packages/superset-ui-preset-chart-xy/src/encodeable/types/Axis.ts +++ b/packages/superset-ui-preset-chart-xy/src/encodeable/types/Axis.ts @@ -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; }