source: imaps-frontend/node_modules/react-use/esm/useQueue.d.ts

main
Last change on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 224 bytes
Line 
1export interface QueueMethods<T> {
2 add: (item: T) => void;
3 remove: () => T;
4 first: T;
5 last: T;
6 size: number;
7}
8declare const useQueue: <T>(initialValue?: T[]) => QueueMethods<T>;
9export default useQueue;
Note: See TracBrowser for help on using the repository browser.