Type alias StructuredWriter
StructuredWriter: {
get buffer(): Buffer;
addToStore(contents, path): Promise<void>;
finalize(): Promise<void>;
getDestinationPath(): undefined | string;
}
Type declaration
get buffer(): Buffer
addToStore:function
- addToStore(contents, path): Promise<void>
Parameters
- contents: string | Buffer | Readable
- path: string
Returns Promise<void>
finalize:function
- finalize(): Promise<void>
Returns Promise<void>
getDestinationPath:function
- getDestinationPath(): undefined | string
Returns undefined | string