UNPKG

javascript-typescript-langserver

Version:

Implementation of the Language Server Protocol for JavaScript and TypeScript

12 lines (11 loc) 317 B
/** * Interface for objects to perform actions if they are not needed anymore */ export interface Disposable { /** * Disposes the object. Example actions: * - Cancelling all pending operations this object started * - Unsubscribing all listeners this object added */ dispose(): void; }