mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-15 21:05:51 +00:00
反编译版本中 global.d.ts 声明的全局函数运行时未定义, 通过显式 import、stub 组件和全局 polyfill 修复。 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
13 lines
328 B
TypeScript
13 lines
328 B
TypeScript
// Stub — ant-only component, not available in decompiled build
|
|
import React from 'react';
|
|
|
|
export function AntModelSwitchCallout(_props: {
|
|
onDone: (selection: string, modelAlias?: string) => void;
|
|
}): React.ReactElement | null {
|
|
return null;
|
|
}
|
|
|
|
export function shouldShowModelSwitchCallout(): boolean {
|
|
return false;
|
|
}
|