@backtrace/node
Version:
Backtrace-JavaScript Node.JS integration
11 lines (10 loc) • 519 B
TypeScript
import { BacktraceFileAttachment as CoreBacktraceFileAttachment } from '@backtrace/sdk-core';
import { Readable } from 'stream';
import { NodeFileSystem } from '../storage/interfaces/NodeFileSystem.js';
export declare class BacktraceFileAttachment implements CoreBacktraceFileAttachment<Readable> {
readonly filePath: string;
private readonly _fileSystem?;
readonly name: string;
constructor(filePath: string, name?: string, _fileSystem?: NodeFileSystem | undefined);
get(): Readable | undefined;
}