diff --git a/src/Ix.ts b/src/Ix.ts index 69f11792..fc677eaf 100644 --- a/src/Ix.ts +++ b/src/Ix.ts @@ -12,6 +12,13 @@ export { AsyncIterableX as AsyncIterable }; +// Also export default to accommodate quirks of node's `--experimental-modules` mode +export default { + AsyncSink, + Iterable: IterableX, + AsyncIterable: AsyncIterableX +}; + export type GroupedIterable = GroupedIterable; export type OrderedIterable = OrderedIterableX; export type GroupedAsyncIterable = GroupedAsyncIterable;