Skip to content

Commit

Permalink
fix: formatting and tsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
baszalmstra committed Feb 20, 2025
1 parent 81de8ee commit 4c66f15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion js-rattler/.prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"semi": true,
"trailingComma": "all",
"useTabs": false,
"plugins": ["prettier-plugin-jsdoc"]
"plugins": ["prettier-plugin-jsdoc"],
"tsdoc": true
}
4 changes: 3 additions & 1 deletion js-rattler/src/Version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,9 @@ export class Version {
/**
* Compare two versions.
*
* Returns `-1` if this < other, `0` if this == other, `1` if this > other
* Returns `-1` if this instance should be ordered before `other`, `0` if
* this version and `other` are considered equal, `1` if this version should
* be ordered after `other`.
*/
public compare(other: Version): number {
return this.native.compare(other.native);
Expand Down

0 comments on commit 4c66f15

Please sign in to comment.