wip
This commit is contained in:
parent
12afc294f7
commit
f69e57385b
3 changed files with 10 additions and 7 deletions
|
|
@ -19,7 +19,10 @@ import type { Response } from 'undici';
|
|||
const pipeline = util.promisify(stream.pipeline);
|
||||
import { bindThis } from '@/decorators.js';
|
||||
|
||||
type NonNullBodyResponse = Response & { body: ReadableStream };
|
||||
export type NonNullBodyResponse = Response & {
|
||||
body: ReadableStream;
|
||||
clone: () => NonNullBodyResponse;
|
||||
};
|
||||
|
||||
@Injectable()
|
||||
export class DownloadService {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue