feat(typings): Enhance typing support with withAppTypes and custom services throughout OHIF (#4090)

This commit is contained in:
Ibrahim authored and GitHub committed 2024-05-08 12:12:49 -04:00
1 parent b2cd0172d6
commit 374065bc3b
153 files changed
+842 -657

No files matched your search

+2 -3
View File
@@ -2,7 +2,6 @@ import objectHash from 'object-hash';
import { hotkeys } from '../utils';
import isequal from 'lodash.isequal';
import Hotkey from './Hotkey';
import ServicesManager from '../services/ServicesManager';
/**
*
@@ -15,9 +14,9 @@ import ServicesManager from '../services/ServicesManager';
*/
export class HotkeysManager {
private _servicesManager: ServicesManager;
private _servicesManager: AppTypes.ServicesManager;
constructor(commandsManager, servicesManager) {
constructor(commandsManager, servicesManager: AppTypes.ServicesManager) {
this.hotkeyDefinitions = {};
this.hotkeyDefaults = [];
this.isEnabled = true;