sussudio
Version:
An unofficial VS Code Internal API
20 lines (19 loc) • 721 B
text/typescript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
export declare class LinkedList<E> {
private _first;
private _last;
private _size;
get size(): number;
isEmpty(): boolean;
clear(): void;
unshift(element: E): () => void;
push(element: E): () => void;
private _insert;
shift(): E | undefined;
pop(): E | undefined;
private _remove;
[Symbol.iterator](): Iterator<E>;
}