mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-03-02 06:22:42 -08:00
16 lines
589 B
TypeScript
16 lines
589 B
TypeScript
import { createBuildOpenYomitanSettingsMainDepsHandler } from './app-runtime-main-deps';
|
|
import { createOpenYomitanSettingsHandler } from './yomitan-settings-opener';
|
|
|
|
type OpenYomitanSettingsMainDeps = Parameters<
|
|
typeof createBuildOpenYomitanSettingsMainDepsHandler
|
|
>[0];
|
|
|
|
export function createYomitanSettingsRuntime(deps: OpenYomitanSettingsMainDeps) {
|
|
const openYomitanSettingsMainDeps = createBuildOpenYomitanSettingsMainDepsHandler(deps)();
|
|
const openYomitanSettings = createOpenYomitanSettingsHandler(openYomitanSettingsMainDeps);
|
|
|
|
return {
|
|
openYomitanSettings,
|
|
};
|
|
}
|