Skip to content

Commit ecc5ce3

Browse files
authored
fix: jsdoc unmatched parameters (#147)
1 parent a4b9a62 commit ecc5ce3

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4850,7 +4850,7 @@ export declare class Repository {
48504850
* }
48514851
* ```
48524852
*
4853-
* @param {Commit} outCommit - The commit that reflects the destination tree.
4853+
* @param {Commit} ourCommit - The commit that reflects the destination tree.
48544854
* @param {Commit} theirCommit - The commit to merge in to `ourCommit`.
48554855
* @param {MergeOptions} [options] - Merge options.
48564856
* @returns The index result.
@@ -4876,7 +4876,7 @@ export declare class Repository {
48764876
* ```
48774877
*
48784878
* @param {Tree} ancestorTree - The common ancestor between.
4879-
* @param {Tree} outTree - The tree that reflects the destination tree.
4879+
* @param {Tree} ourTree - The tree that reflects the destination tree.
48804880
* @param {Tree} theirTree - The tree to merge in to `ourTree`.
48814881
* @param {MergeOptions} [options] - Merge options.
48824882
* @returns The index result.
@@ -5242,7 +5242,7 @@ export declare class Repository {
52425242
* }
52435243
* ```
52445244
*
5245-
* @param {Commit} commitish - A Commit which the HEAD should point to.
5245+
* @param {Commit} commit - A Commit which the HEAD should point to.
52465246
*/
52475247
setHeadDetached(commit: Commit): void
52485248
/**

src/merge.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ impl Repository {
418418
/// }
419419
/// ```
420420
///
421-
/// @param {Commit} outCommit - The commit that reflects the destination tree.
421+
/// @param {Commit} ourCommit - The commit that reflects the destination tree.
422422
/// @param {Commit} theirCommit - The commit to merge in to `ourCommit`.
423423
/// @param {MergeOptions} [options] - Merge options.
424424
/// @returns The index result.
@@ -455,7 +455,7 @@ impl Repository {
455455
/// ```
456456
///
457457
/// @param {Tree} ancestorTree - The common ancestor between.
458-
/// @param {Tree} outTree - The tree that reflects the destination tree.
458+
/// @param {Tree} ourTree - The tree that reflects the destination tree.
459459
/// @param {Tree} theirTree - The tree to merge in to `ourTree`.
460460
/// @param {MergeOptions} [options] - Merge options.
461461
/// @returns The index result.

src/repository.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ impl Repository {
450450
/// }
451451
/// ```
452452
///
453-
/// @param {Commit} commitish - A Commit which the HEAD should point to.
453+
/// @param {Commit} commit - A Commit which the HEAD should point to.
454454
pub fn set_head_detached(&self, commit: &Commit) -> crate::Result<()> {
455455
let oid = commit.inner.id();
456456
self.inner.set_head_detached(oid)?;

0 commit comments

Comments
 (0)