interface IUpdateController { update(updateOptions: IUpdateOptions): Promise; shouldUpdate({ projectDir, version, }: { projectDir: string; version?: string; }): Promise; } interface IUpdateOptions { projectDir: string; version?: string; frameworkPath?: string; }