source:
imaps-frontend/node_modules/react-use/esm/useQueue.d.ts
Last change on this file was d565449, checked in by , 4 weeks ago | |
---|---|
|
|
File size: 224 bytes |
Rev | Line | |
---|---|---|
[d565449] | 1 | export interface QueueMethods<T> { |
2 | add: (item: T) => void; | |
3 | remove: () => T; | |
4 | first: T; | |
5 | last: T; | |
6 | size: number; | |
7 | } | |
8 | declare const useQueue: <T>(initialValue?: T[]) => QueueMethods<T>; | |
9 | export default useQueue; |
Note:
See TracBrowser
for help on using the repository browser.