UNPKG

javascript-typescript-langserver

Version:

Implementation of the Language Server Protocol for JavaScript and TypeScript

12 lines (11 loc) 380 B
import { Observable } from 'rxjs'; import { FileSystem } from '../fs'; /** * Map-based file system that holds map (URI -> content) */ export declare class MapFileSystem implements FileSystem { private files; constructor(files: Map<string, string>); getWorkspaceFiles(base?: string): Observable<string>; getTextDocumentContent(uri: string): Observable<string>; }