Skip to content

Commit

Permalink
Export hash code (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
vdolek committed Oct 7, 2020
1 parent cf584f3 commit bc51528
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sharp-collections",
"version": "1.4.0",
"version": "1.4.1",
"description": ".NET Linq like collection library for TypeScript and JavaScript.",
"scripts": {
"build": "tsc",
Expand All @@ -15,16 +15,18 @@
"dist/**/*"
],
"keywords": [
"linq",
"typescript",
"collections",
"list",
"dictionary",
"hashset"
"Linq",
"Typescript",
"Collections",
"List",
"Dictionary",
"HashSet",
"HashCode",
"EqualityComparer"
],
"author": "Martin Volek",
"license": "MIT",
"homepage": "https://github.com/vdolek/sharp-collections#sharp-collections---typescript-linq-library",
"homepage": "https://github.com/vdolek/sharp-collections#readme",
"devDependencies": {
"@types/chai": "^4.2.11",
"@types/mocha": "^7.0.2",
Expand Down
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* tslint:disable:file-name-casing ordered-imports no-import-side-effect */

// hashing
export { HashCode } from './hashing/HashCode';

// comparers
export { CombinedComparer } from './comparers/CombinedComparer';
export { Comparer } from './comparers/Comparer';
Expand Down
2 changes: 1 addition & 1 deletion tests/hashing/HashCode.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from 'chai';

import { HashCode } from '../../src/hashing/HashCode';
import { HashCode } from '../../src/index';

describe('HashCode tests', () => {
it('simple test', () => {
Expand Down

0 comments on commit bc51528

Please sign in to comment.