mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-20 01:35:36 -05:00
Switches to use as rather than <>
This commit is contained in:
@@ -192,12 +192,12 @@ export class GitBlameParserEnricher implements IGitEnricher<IGitBlame> {
|
||||
// .sort((a, b) => b.date.getTime() - a.date.getTime())
|
||||
// .forEach(c => sortedCommits.set(c.sha, c));
|
||||
|
||||
return <IGitBlame>{
|
||||
return {
|
||||
repoPath: repoPath,
|
||||
authors: sortedAuthors,
|
||||
// commits: sortedCommits,
|
||||
commits: commits,
|
||||
lines: lines
|
||||
};
|
||||
} as IGitBlame;
|
||||
}
|
||||
}
|
||||
@@ -179,11 +179,11 @@ export class GitLogParserEnricher implements IGitEnricher<IGitLog> {
|
||||
// .sort((a, b) => b.date.getTime() - a.date.getTime())
|
||||
// .forEach(c => sortedCommits.set(c.sha, c));
|
||||
|
||||
return <IGitLog>{
|
||||
return {
|
||||
repoPath: repoPath,
|
||||
authors: sortedAuthors,
|
||||
// commits: sortedCommits,
|
||||
commits: commits
|
||||
};
|
||||
} as IGitLog;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user