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
|
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.