From f9131b2f5086ff130cf362b072e42c614ae686f8 Mon Sep 17 00:00:00 2001 From: Maxime Jacquemin <maxime.jacquemin@cea.fr> Date: Tue, 25 Oct 2022 16:41:53 +0200 Subject: [PATCH] [ivette] Workaround for __static path --- ivette/src/dome/main/dome.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ivette/src/dome/main/dome.ts b/ivette/src/dome/main/dome.ts index bdc926faab8..1203601813d 100644 --- a/ivette/src/dome/main/dome.ts +++ b/ivette/src/dome/main/dome.ts @@ -61,6 +61,11 @@ import SYS, * as System from 'dome/system'; import { URL } from 'url'; import * as Menubar from './menubar'; +// The __static path is provided by webpack at execution time, but the static +// type system is not aware of that for now. This is a workaround to avoid +// an error during compilation. +declare const __static: string; + // -------------------------------------------------------------------------- // --- System Helpers // -------------------------------------------------------------------------- -- GitLab