jodit
Version:
Jodit is an awesome and useful wysiwyg editor with filebrowser
18 lines (17 loc) • 527 B
TypeScript
/*!
* Jodit Editor (https://xdsoft.net/jodit/)
* Released under MIT see LICENSE.txt in the project root for license information.
* Copyright (c) 2013-2025 Valeriy Chupurnov. All rights reserved. https://xdsoft.net
*/
/**
* @module helpers/utils
*/
import type { CanUndef } from "../../../types/index";
export declare class LimitedStack<T> {
readonly limit: number;
private stack;
constructor(limit: number);
push(item: T): this;
pop(): CanUndef<T>;
find(clb: (item: T) => boolean): CanUndef<T>;
}