From 80b6f0af19713cfb3c47891523fe4b35eaeccd0a Mon Sep 17 00:00:00 2001 From: yash-mehta Date: Thu, 5 Jan 2023 10:10:31 +0530 Subject: [PATCH] Declaring module for *.jpg for event flow and handlebars --- .../legacy-plugin-chart-event-flow/src/types/external.d.ts | 1 + .../plugins/plugin-chart-handlebars/types/external.d.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/superset-frontend/plugins/legacy-plugin-chart-event-flow/src/types/external.d.ts b/superset-frontend/plugins/legacy-plugin-chart-event-flow/src/types/external.d.ts index c7f1aac5b2d28..a9b451b3153fb 100644 --- a/superset-frontend/plugins/legacy-plugin-chart-event-flow/src/types/external.d.ts +++ b/superset-frontend/plugins/legacy-plugin-chart-event-flow/src/types/external.d.ts @@ -18,4 +18,5 @@ */ declare module '*.png'; +declare module '*.jpg'; declare module '@data-ui/event-flow'; diff --git a/superset-frontend/plugins/plugin-chart-handlebars/types/external.d.ts b/superset-frontend/plugins/plugin-chart-handlebars/types/external.d.ts index a07e4dd267159..ae61945f05350 100644 --- a/superset-frontend/plugins/plugin-chart-handlebars/types/external.d.ts +++ b/superset-frontend/plugins/plugin-chart-handlebars/types/external.d.ts @@ -20,5 +20,5 @@ declare module '*.png' { const value: any; export default value; } - +declare module '*.jpg'; declare module 'just-handlebars-helpers';