-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/** | ||
* API for a comparison between similar objects. | ||
* @public | ||
*/ | ||
export default interface Comparable<T> { | ||
/** | ||
* Compare this instance to another. | ||
* | ||
* @param o - the object to compare to | ||
* @returns `-1`, `0`, or `1` if this is less than, equal to, or greater than `o` | ||
*/ | ||
compareTo(o: T): number; | ||
} | ||
//# sourceMappingURL=Comparable.d.ts.map |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.