Switches to use as rather than <>

This commit is contained in:
Eric Amodio
2017-01-02 00:06:42 -05:00
parent 4e65eb6344
commit a52b0c9b73
5 changed files with 13 additions and 13 deletions

View File

@@ -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;
}
}

View File

@@ -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;
}
}