mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Stop exporting dependencies for not being required
Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
parent
b7297e28b2
commit
de890fa0e7
@ -3,12 +3,12 @@
|
||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||
*/
|
||||
import { getInjectable, lifecycleEnum } from "@ogre-tools/injectable";
|
||||
import { DockTabStore, DockTabStoreDependencies, DockTabStoreOptions } from "./dock-tab.store";
|
||||
import { DockTabStore, DockTabStoreOptions } from "./dock-tab.store";
|
||||
import createStorageInjectable from "../../../utils/create-storage/create-storage.injectable";
|
||||
|
||||
const createDockTabStoreInjectable = getInjectable({
|
||||
instantiate: (di) => {
|
||||
const dependencies: DockTabStoreDependencies = {
|
||||
const dependencies = {
|
||||
createStorage: di.inject(createStorageInjectable),
|
||||
};
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@ export interface DockTabStoreOptions {
|
||||
|
||||
export type DockTabStorageState<T> = Record<TabId, T>;
|
||||
|
||||
export interface DockTabStoreDependencies {
|
||||
interface DockTabStoreDependencies {
|
||||
createStorage: <T>(storageKey: string, options: DockTabStorageState<T>) => StorageHelper<DockTabStorageState<T>>
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user