nodegit: Fix no-redundant-jsdoc lint errors (#20897)

This commit is contained in:
Andy
2017-10-23 13:29:35 -07:00
committed by GitHub
parent 7f9fa39fc8
commit f84cb14d02
96 changed files with 73 additions and 6400 deletions

View File

@@ -4,35 +4,16 @@ import { Reference } from './reference';
export class AnnotatedCommit {
/**
*
*
* @static
* @param {Repository} repo - repository that contains the given commit
* @param {string} branchName - name of the (remote) branch
* @param {string} remoteUrl - url of the remote
* @param {Oid} id - the commit object id of the remote branch
* @returns {Promise<AnnotatedCommit>}
*
* @memberof AnnotatedCommit
* @param repo - repository that contains the given commit
* @param branchName - name of the (remote) branch
* @param remoteUrl - url of the remote
* @param id - the commit object id of the remote branch
*/
static fromFetchhead(repo: Repository, branchName: string, remoteUrl: string, id: Oid): Promise<AnnotatedCommit>;
static fromRef(repo: Repository, ref: Reference): Promise<AnnotatedCommit>;
static fromRevspec(repo: Repository, revspec: string): Promise<AnnotatedCommit>;
static lookup(repo: Repository, id: Oid): Promise<AnnotatedCommit>;
/**
*
*
*
* @memberof AnnotatedCommit
*/
free(): void;
/**
*
*
* @returns {Oid}
*
* @memberof AnnotatedCommit
*/
id(): Oid;
}