From 356a00d46376c93b10ff34d2907e481cbc067541 Mon Sep 17 00:00:00 2001 From: Kevin Dethelot Date: Thu, 1 Sep 2022 14:19:45 -0400 Subject: [PATCH] Fix CI : revert tsconfig.json and add ts-ignore on import --- .../controls/DateFilterControl/components/CustomFrame.tsx | 3 ++- superset-frontend/tsconfig.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/superset-frontend/src/explore/components/controls/DateFilterControl/components/CustomFrame.tsx b/superset-frontend/src/explore/components/controls/DateFilterControl/components/CustomFrame.tsx index 6cf5106f3a5c1..b24ab7026844e 100644 --- a/superset-frontend/src/explore/components/controls/DateFilterControl/components/CustomFrame.tsx +++ b/superset-frontend/src/explore/components/controls/DateFilterControl/components/CustomFrame.tsx @@ -41,7 +41,8 @@ import { CustomRangeKey, FrameComponentProps, } from 'src/explore/components/controls/DateFilterControl/types'; -import { locales } from 'antd/dist/antd-with-locales'; +// @ts-ignore +import locales from 'antd/dist/antd-with-locales'; import { bootstrapData } from 'src/preamble'; const languages = { diff --git a/superset-frontend/tsconfig.json b/superset-frontend/tsconfig.json index 7ba09344ab6d4..9dba1c3f89b23 100644 --- a/superset-frontend/tsconfig.json +++ b/superset-frontend/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { /* Type Checking */ - "noImplicitAny": false, + "noImplicitAny": true, "noImplicitReturns": true, "noImplicitThis": true, "noUnusedLocals": true,