Skip to content

Commit f9e5895

Browse files
authored
Merge pull request #6 from eyas-ranjous/dev
fix export
2 parents 25bd453 + e4a9acc commit f9e5895

File tree

4 files changed

+14
-3
lines changed

4 files changed

+14
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
## [1.0.2] - 2021-JUN-24
9+
### Fixed
10+
- index.d.ts
11+
812
## [1.0.1] - 2021-MAY-12
913
### Fixed
1014
- README

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
An implementation of the round robin as a data structure. Two strategies are implemented to select the next item in the round, a Sequential one that selects the next item based on the order of insertion, and a Random one that selects the next item randomly.
66

7+
<img src="https://user-images.githubusercontent.com/6517308/121813242-859a9700-cc6b-11eb-99c0-49e5bb63005b.jpg">
8+
79
# Contents
810
* [Install](#install)
911
* [API](#api)
@@ -119,7 +121,7 @@ console.log(key, value); // 3, 25
119121
</tr>
120122
<tr>
121123
<td align="center">item: T</td>
122-
<td align="center">RoundRobinItem</td>
124+
<td align="center">RoundRobinItem&lt;T&gt;</td>
123125
</tr>
124126
</table>
125127

@@ -157,7 +159,7 @@ returns the next item in the round.
157159
<th align="center">return</th>
158160
</tr>
159161
<tr>
160-
<td align="center">object (RoundRobinItem)</td>
162+
<td align="center">object (RoundRobinItem&lt;T&gt;)</td>
161163
</tr>
162164
</table>
163165

index.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { RandomRoundRobin } from './src/RandomRoundRobin';
2+
import { SequentialRoundRobin } from './src/SequentialRoundRobin';
3+
4+
export { RandomRoundRobin }
5+
export { SequentialRoundRobin }

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "round-robin-js",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "an implementation of round robin as a data structure",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)