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

main
Last change on this file since d565449 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
RevLine 
[d565449]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.