UNPKG
dastal
Version:
latest (5.0.0)
5.0.0
4.1.3
4.1.2
4.1.1
4.1.0
4.0.0
3.0.0
2.1.0
2.0.0
1.4.0
1.3.1
1.3.0
1.2.0
1.1.0
1.0.0
Data Structures & Algorithms implementations
github.com/havelessbemore/dastal
havelessbemore/dastal
dastal
/
lib
/
src
/
list
/
linkedNode.d.ts
16 lines
(15 loc)
•
255 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/** * A linked node interface. * * Each node links to its next neighbor. */
export interface LinkedNode<T> {
/** * A link to the node's neighbor. */
next?: LinkedNode<T>;
/** * The value of the node. */
value: T; }