This is an automated email from the ASF dual-hosted git repository.

yongjiezhao pushed a commit to branch add-translation-for-DatePicker
in repository https://gitbox.apache.org/repos/asf/superset.git

commit a8c2d5dfd45bcfe7fa9163d6fa2a405dff9c2888
Author: Kevin Dethelot <[email protected]>
AuthorDate: Thu Sep 1 14:19:45 2022 -0400

    Fix CI : revert tsconfig.json and add ts-ignore on import
---
 .../components/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 6cf5106f3a..b24ab70268 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 7ba09344ab..9dba1c3f89 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,

Reply via email to