Skip to content

Commit 3ee8cea

Browse files
committed
Fix return types in documentation.
1 parent 856cd55 commit 3ee8cea

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/reference.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Reference.prototype.isConcrete = function() {
3434

3535
/**
3636
* Returns if the ref is pointed at by HEAD
37-
* @return {bool}
37+
* @return {Boolean}
3838
*/
3939
Reference.prototype.isHead = function() {
4040
return Branch.isHead(this);

lib/repository.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ Repository.prototype.continueRebase = function(
495495
* @async
496496
* @param {String} name Branch name, e.g. "master"
497497
* @param {Commit|String|Oid} commit The commit the branch will point to
498-
* @param {bool} force Overwrite branch if it exists
498+
* @param {Boolean} force Overwrite branch if it exists
499499
* @return {Reference}
500500
*/
501501
Repository.prototype.createBranch = function(name, commit, force) {

0 commit comments

Comments
 (0)