Skip to content

Commit

Permalink
Merge branch 'main' into ci/codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
manudeli authored Jun 12, 2024
2 parents 5b56d66 + 6ec3093 commit 7cadf0c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@
"lint": "eslint ./src --ext .ts",
"format": "prettier --write ."
}
}
}
2 changes: 1 addition & 1 deletion src/array/uniqBy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { uniqWith } from './uniqWith';
* @param {T[]} arr - The array to process.
* @param {(item: T) => U} converter - The function used to convert the array elements.
* @returns {T[]} A new array containing only the unique elements from the original array, based on the values returned by the converter function.
*
*
* @example
* ```ts
* uniqBy([1.2, 1.5, 2.1, 3.2, 5.7, 5.3, 7.19], Math.floor);
Expand Down
2 changes: 1 addition & 1 deletion src/array/uniqWith.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @param {T[]} arr - The array to process.
* @param {(item1: T, item2: T) => boolean} areItemsEqual - The function used to compare the array elements.
* @returns {T[]} A new array containing only the unique elements from the original array, based on the values returned by the comparator function.
*
*
* @example
* ```ts
* uniqWith([1.2, 1.5, 2.1, 3.2, 5.7, 5.3, 7.19], (a, b) => Math.abs(a - b) < 1);
Expand Down
4 changes: 2 additions & 2 deletions tsup.config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { defineConfig } from 'tsup'
import { defineConfig } from 'tsup';

export default defineConfig({
format: ['cjs', 'esm'],
entry: ['src/*.ts', 'src/*/*.ts', '!**/*.{spec,test,test-d}.*'],
sourcemap: true,
dts: true,
clean: true,
})
});

0 comments on commit 7cadf0c

Please sign in to comment.