feat: 类型修复

This commit is contained in:
claude-code-best
2026-03-31 21:46:46 +08:00
parent c4d92178b7
commit 2c759fe6fa
6 changed files with 38 additions and 19 deletions

View File

@@ -49,9 +49,9 @@ declare function ExperimentEnrollmentNotice(): JSX.Element | null
declare const HOOK_TIMING_DISPLAY_THRESHOLD_MS: number
// Ultraplan (internal)
declare function UltraplanChoiceDialog(): JSX.Element | null
declare function UltraplanLaunchDialog(): JSX.Element | null
declare function launchUltraplan(...args: unknown[]): void
declare function UltraplanChoiceDialog(props: Record<string, unknown>): JSX.Element | null
declare function UltraplanLaunchDialog(props: Record<string, unknown>): JSX.Element | null
declare function launchUltraplan(...args: unknown[]): Promise<string>
// T — Generic type parameter leaked from React compiler output
// (react/compiler-runtime emits compiled JSX that loses generic type params)