Skip to content

Commit 37b08e6

Browse files
Refactor type definitions and improve code clarity
- Added a blank line in Comparable.d.ts for better readability. - Updated KeySortedContext.ts to include a blank line for improved formatting. - Removed unnecessary eslint-disable comment in OrderBy.d.ts. - Eliminated redundant eslint-disable comment in areSequencesEqual.ts. - Cleaned up compare.ts by adding blank lines for better structure. - Added a blank line in comparePrimitives.ts for consistency. - Removed eslint-disable comment in comparison.ts to enhance code quality. - Adjusted tsconfig.esm.json to extend from tsconfig.json and set module to esnext. - Updated tsconfig.json to target es2022, added new compiler options, and excluded tests and dist directories.
1 parent 29d9f8e commit 37b08e6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+157
-2430
lines changed

.eslintrc.json

Lines changed: 0 additions & 36 deletions
This file was deleted.

dist-esm/KeySortedContext.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist-esm/SortContext.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist-esm/areEquivalentObjects.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist-esm/comparison.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/Comparable.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export interface ComparableObject<T>
1010
compareTo (other: T): number;
1111
}
1212

13+
1314
export declare type Comparable = string | number | boolean | ComparableObject<any>;
1415

1516
export interface Comparer<T>

dist/EqualityOperator.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export declare const enum EqualityOperator {
77
* ==
88
* @type {number}
99
*/
10-
Equality = 0,
10+
Equality = 0,// (false)
1111
/**
1212
* === (strict)
1313
* @type {number}

dist/KeySortedContext.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)