| 12 | import { checkInstall, cleanupNpmInstallations, cleanupShellAliases, installLatest } from '../utils/nativeInstaller/index.js'; |
| 13 | import { getInitialSettings, updateSettingsForSource } from '../utils/settings/settings.js'; |
| 14 | interface InstallProps { |
| 15 | onDone: (result: string, options?: { |
| 16 | display?: CommandResultDisplay; |
| 17 | }) => void; |
| 18 | force?: boolean; |
| 19 | target?: string; // 'latest', 'stable', or version like '1.0.34' |
| 20 | } |
| 21 | type InstallState = { |
| 22 | type: 'checking'; |
| 23 | } | { |
nothing calls this directly
no outgoing calls
no test coverage detected