source:
imaps-frontend/node_modules/react-use/esm/useQueue.d.ts@
d565449
Last change on this file since d565449 was d565449, checked in by , 4 weeks ago | |
---|---|
|
|
File size: 224 bytes |
Line | |
---|---|
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.