mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 00:38:28 +00:00
chore: Fix TypeScript errors 3/n.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import type { OpenClawConfig } from "../config/config.js";
|
||||
import { SkillsInstallPreferences } from "./skills/types.js";
|
||||
|
||||
export {
|
||||
hasBinary,
|
||||
@@ -32,7 +33,7 @@ export {
|
||||
syncSkillsToWorkspace,
|
||||
} from "./skills/workspace.js";
|
||||
|
||||
export function resolveSkillsInstallPreferences(config?: OpenClawConfig) {
|
||||
export function resolveSkillsInstallPreferences(config?: OpenClawConfig): SkillsInstallPreferences {
|
||||
const raw = config?.skills?.install;
|
||||
const preferBrew = raw?.preferBrew ?? true;
|
||||
const managerRaw = typeof raw?.nodeManager === "string" ? raw.nodeManager.trim() : "";
|
||||
|
||||
Reference in New Issue
Block a user