Skip to content

Commit

Permalink
Simplified import.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhop committed Sep 17, 2024
1 parent 831e0a9 commit 322de62
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ts-test/demo.mts
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import chain, {asStream, many, none} from 'stream-chain';
import TypedStreams from 'stream-chain/typed-streams.js';
import {TypedTransform} from 'stream-chain/typed-streams.js';
import readableFrom from 'stream-chain/utils/readableFrom.js';

import {Transform} from 'node:stream';

const {TypedTransform} = TypedStreams;

const getTotalFromDatabaseByKey = async (x: number) =>
new Promise<number>(resolve => {
setTimeout(() => {
Expand Down

0 comments on commit 322de62

Please sign in to comment.