UNPKG

templates-mo

Version:

Templates is a scaffolding framework that makes code generation simple, dynamic, and reusable. Generate files, parts of your app, or whole project structures—without the repetitive copy-pasting

12 lines (11 loc) • 281 B
import { Stack } from './stack'; export declare class Queue<TData> { inbox: Stack<TData>; outbox: Stack<TData>; constructor(); enqueue(...args: TData[]): void; dequeue(): TData | null; size(): number; peek(): TData | null; log(filter: any): void; }