diff --git a/src/git/models/graph.ts b/src/git/models/graph.ts index b1271fa6ba0ae..30c3db6fe079b 100644 --- a/src/git/models/graph.ts +++ b/src/git/models/graph.ts @@ -15,7 +15,13 @@ import type { GitWorktree } from './worktree'; export type GitGraphHostingServiceType = HostingServiceType; -export type GitGraphRowHead = Head; +// FIXES: +// ERROR in src/env/node/git/localGitProvider.ts:2650:8 +// TS2353: Object literal may only specify known properties, and 'worktreeId' does not exist in type 'Head'. +export type GitGraphRowHead = Head & { + worktreeId?: string; +}; + export type GitGraphRowRemoteHead = Remote; export type GitGraphRowTag = Tag; export type GitGraphRowContexts = RowContexts;