Skip to content

Commit

Permalink
finally got the exports sorted out i think
Browse files Browse the repository at this point in the history
  • Loading branch information
magnusandy committed Aug 6, 2018
1 parent db8d0ab commit 57afded
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
26 changes: 24 additions & 2 deletions index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
import Collectors, {Collector} from './collectors';
import Optional from './optional';
import Stream from './stream';
import Stream, { StreamIterator } from './stream';
import Errors from './errors';
import { Comparator, Consumer, BiConsumer, BiFunction, BiPredicate, Transformer, Supplier, Predicate } from './functions';

export { Optional, Stream };
export {
Collector,
Collectors,

Optional,

Stream,
StreamIterator,

Errors,

Comparator,
Consumer,
BiConsumer,
BiFunction,
BiPredicate,
Transformer,
Supplier,
Predicate,
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "java8script",
"version": "1.0.2",
"version": "1.0.3",
"description": "Implementing Java 8 features like optionals and streams in javascript (typescript)",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 57afded

Please sign in to comment.