@pkerschbaum/code-oss-file-service
Version:
VS Code ([microsoft/vscode](https://github.com/microsoft/vscode)) includes a rich "`FileService`" and "`DiskFileSystemProvider`" abstraction built on top of Node.js core modules (`fs`, `path`) and Electron's `shell` module. This package allows to use that
20 lines • 724 B
TypeScript
import { URI } from '../../base/common/uri';
export interface IRemoteConsoleLog {
type: string;
severity: string;
arguments: string;
}
export interface IStackFrame {
uri: URI;
line: number;
column: number;
}
export declare function isRemoteConsoleLog(obj: any): obj is IRemoteConsoleLog;
export declare function parse(entry: IRemoteConsoleLog): {
args: any[];
stack?: string;
};
export declare function getFirstFrame(entry: IRemoteConsoleLog): IStackFrame | undefined;
export declare function getFirstFrame(stack: string | undefined): IStackFrame | undefined;
export declare function log(entry: IRemoteConsoleLog, label: string): void;
//# sourceMappingURL=console.d.ts.map