Skip to content

Commit

Permalink
Import AnyWebByteStream from peek-readable and not from own export
Browse files Browse the repository at this point in the history
  • Loading branch information
Borewit committed Aug 14, 2024
1 parent c42c79c commit 7d0abf8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/core.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import type { Readable } from 'node:stream';
import { StreamReader, WebStreamReader } from 'peek-readable';
import { StreamReader, WebStreamReader, type AnyWebByteStream } from 'peek-readable';

import { ReadStreamTokenizer } from './ReadStreamTokenizer.js';
import { BufferTokenizer } from './BufferTokenizer.js';
import type { ITokenizerOptions } from './types.js';
import type { AnyWebByteStream } from './core.js';

export { EndOfStreamError, type AnyWebByteStream } from 'peek-readable';
export type { ITokenizer, IFileInfo, ITokenizerOptions, IReadChunkOptions, OnClose } from './types.js';
Expand Down

0 comments on commit 7d0abf8

Please sign in to comment.