typeit
Version:
The most versatile animated typing utility on the planet.
10 lines (9 loc) • 319 B
TypeScript
import { QueueItem } from "./types";
declare const Queue: (initialItems: QueueItem[]) => {
add: (steps: QueueItem[]) => typeof Queue;
set: (index: number, item: QueueItem) => void;
reset: () => void;
getItems: () => QueueItem[];
setMeta: (index: number, meta: any) => void;
};
export default Queue;