@@ -33,7 +33,7 @@ Object.defineProperty(Repository.prototype, "openIndex", {
3333 * @param {bool } force Overwrite branch if it exists
3434 * @param {Signature } signature Identity to use to populate reflog
3535 * @param {String } logMessage One line message to be appended to the reflog
36- * @return {Ref }
36+ * @return {Reference }
3737 */
3838Repository . prototype . createBranch =
3939function ( name , commit , force ) {
@@ -86,8 +86,8 @@ Repository.discover = function(startPath, acrossFs, ceilingDirs, callback) {
8686 * Look up a refs's commit.
8787 *
8888 * @async
89- * @param {String|Ref } name Ref name, e.g. "master", "refs/heads/master"
90- * or Branch Ref
89+ * @param {String|Reference } name Ref name, e.g. "master", "refs/heads/master"
90+ * or Branch Ref
9191 * @return {Commit }
9292 */
9393Repository . prototype . getReferenceCommit = function ( name , callback ) {
@@ -108,9 +108,9 @@ Repository.prototype.getReferenceCommit = function(name, callback) {
108108* Look up a branch. Alias for `getReference`
109109*
110110* @async
111- * @param {String|Ref } name Ref name, e.g. "master", "refs/heads/master"
112- * or Branch Ref
113- * @return {Ref }
111+ * @param {String|Reference } name Ref name, e.g. "master", "refs/heads/master"
112+ * or Branch Ref
113+ * @return {Reference }
114114*/
115115Repository . prototype . getBranch = function ( name , callback ) {
116116 return this . getReference ( name , callback ) ;
@@ -120,7 +120,7 @@ Repository.prototype.getBranch = function(name, callback) {
120120* Look up a branch's most recent commit. Alias to `getReferenceCommit`
121121*
122122* @async
123- * @param {String|Ref } name Ref name, e.g. "master", "refs/heads/master"
123+ * @param {String|Reference } name Ref name, e.g. "master", "refs/heads/master"
124124* or Branch Ref
125125* @return {Commit }
126126*/
@@ -142,8 +142,8 @@ Repository.prototype.getCurrentBranch = function() {
142142 * Lookup the reference with the given name.
143143 *
144144 * @async
145- * @param {String|Ref } name Ref name, e.g. "master", "refs/heads/master"
146- * or Branch Ref
145+ * @param {String|Reference } name Ref name, e.g. "master", "refs/heads/master"
146+ * or Branch Ref
147147 * @return {Reference }
148148 */
149149Repository . prototype . getReference = function ( name , callback ) {
@@ -728,8 +728,8 @@ Repository.prototype.fetchAll = function(
728728/**
729729 * Merge a branch onto another branch
730730 *
731- * @param {String|Ref } to
732- * @param {String|Ref } from
731+ * @param {String|Reference } to
732+ * @param {String|Reference } from
733733 * @param {Signature } signature
734734 * @param {Merge.PREFERENCE } mergePreference
735735 * @param {MergeOptions } mergeOptions
0 commit comments