mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 06:15:51 +00:00
feat: 完成一大波类型修复, 虽然 any 很多
This commit is contained in:
@@ -185,8 +185,8 @@ export async function getOutputStyleConfig(): Promise<OutputStyleConfig | null>
|
||||
const forcedStyles = Object.values(allStyles).filter(
|
||||
(style): style is OutputStyleConfig =>
|
||||
style !== null &&
|
||||
style.source === 'plugin' &&
|
||||
style.forceForPlugin === true,
|
||||
(style as any).source === 'plugin' &&
|
||||
(style as any).forceForPlugin === true,
|
||||
)
|
||||
|
||||
const firstForcedStyle = forcedStyles[0]
|
||||
|
||||
Reference in New Issue
Block a user