UNPKG

di-tory

Version:

Compose applications with dependency injection

11 lines (10 loc) 265 B
export declare class Stack<T> { readonly items: T[]; private readonly set; constructor(items?: T[], set?: Set<T>); push(item: T): void; pop(): NonNullable<T>; peek(): T | undefined; toStringArray(): string[]; get length(): number; }