create project

This commit is contained in:
ismailsosic
2022-12-27 12:05:56 +01:00
parent 2a33a2d3de
commit cd2143287c
16035 changed files with 2489703 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
/// <reference types="node" />
/// <reference types="node" />
import type { ServerResponse } from 'http';
import { Writable } from 'stream';
declare type ContentTypeOption = string | undefined;
export default class RenderResult {
private _result;
private _contentType;
constructor(response: string | ReadableStream<Uint8Array>, { contentType }?: {
contentType?: ContentTypeOption;
});
contentType(): ContentTypeOption;
toUnchunkedString(): string;
pipe(res: ServerResponse | Writable): Promise<void>;
isDynamic(): boolean;
static fromStatic(value: string): RenderResult;
static empty: RenderResult;
}
export {};