Not sure how did this happen but:
getProp(path: string, config?: ILayout): string | boolean | undefined | Object {
if (config) {
return objectPath.get(config, path);
}
return objectPath.get(this.layoutConfigSubject.value, path);
}
this.appSidebarDefaultMinimizeMobileEnabled = this.layout.getProp(
"app.sidebar.default.minimize.mobile.enabled",
config
) as boolean;
this.appSidebarDefaultMinimizeMobileEnabled = config.app.sidebar.default.minimize.mobile.enabled;
Hi Bálint Nagy
Sorry for the delay in response.
Thank you for your suggestion. It's a great idea to enhance the safety of our variables based on the interface. We will consider implementing this in our future updates.