Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
[ConfigurationSection.uiServer, Configuration.buildUIServerSection()],
]);
- private static configurationChangeCallback: () => Promise<void>;
+ private static configurationChangeCallback?: () => Promise<void>;
private constructor() {
// This is intentional
delete Configuration.configurationData;
Configuration.configurationSectionCache.clear();
if (!isUndefined(Configuration.configurationChangeCallback)) {
- Configuration.configurationChangeCallback().catch((error) => {
+ Configuration.configurationChangeCallback!().catch((error) => {
throw typeof error === 'string' ? new Error(error) : error;
});
}