From 7d0abf80b38af0ec09b2d611bcb53fac0dd3e8ec Mon Sep 17 00:00:00 2001 From: Borewit Date: Wed, 14 Aug 2024 08:16:56 +0200 Subject: [PATCH] Import `AnyWebByteStream` from `peek-readable` and not from own export --- lib/core.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/core.ts b/lib/core.ts index 04e133cc..4a8eb121 100644 --- a/lib/core.ts +++ b/lib/core.ts @@ -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';