9 lines
174 B
TypeScript
9 lines
174 B
TypeScript
|
export declare class Queue<T> {
|
||
|
#private;
|
||
|
constructor();
|
||
|
get length(): number;
|
||
|
push(elem: T): void;
|
||
|
shift(): T | undefined;
|
||
|
first(): T | undefined;
|
||
|
}
|